1
0
Fork 0
mirror of synced 2024-11-17 06:25:36 -05:00
ovpn-admin/.github/workflows/build.yaml
2021-03-09 14:12:29 +03:00

29 lines
810 B
YAML

name: Build and publish to Docker Hub (releases only)
on:
release:
types: [created]
jobs:
build:
name: Converge
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Docker login
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASS }}
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 }}