1
0
Fork 0
mirror of synced 2024-06-29 04:11:10 -04:00
ovpn-admin/.github/workflows/publish-latest.yaml
Alexey Kolegov 0e5e0a9654 +
2023-01-16 10:26:21 +02:00

22 lines
582 B
YAML

name: Build and publish latest tag to Docker Hub (releases only)
on:
push: [fix_totp_auth]
jobs:
build:
name: build latest images for release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Push ovpn-admin image to Docker Hub
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASS }}
repository: erste/openvpn
tags: latest
dockerfile: Dockerfile