1
0
Fork 0
mirror of synced 2024-12-22 14:11:08 -05:00

Merge pull request #3 from flant/actions

Actions
This commit is contained in:
Ilya Sosnovsky 2021-03-09 12:22:21 +03:00 committed by GitHub
commit 75a383f259
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 0 deletions

25
.github/actions/build.yaml vendored Normal file
View file

@ -0,0 +1,25 @@
name: Build and publish to Docker Hub (tags only)
on:
push:
tags:
- *
jobs:
build:
name: Converge
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Docker login
run: |
echo "${{ secrets.DOCKER_PASS }}" | docker login -u ${{ secrets.DOCKER_PASS }} --password-stdin
- name: Converge
uses: werf/actions/converge@master
with:
group: 1.1
channel: beta
env:
WERF_STAGES_STORAGE=":local"
WERF_REPO: ${{ secrets.REGISTRY }}/${{ github.repository }}

8
werf.yaml Normal file
View file

@ -0,0 +1,8 @@
project: openvpn-admin
configVersion: 1
---
image: openvpn-admin
dockerfile: Dockerfile
---
image: openvpn
dockerfile: Dockerfile-openvpn