2021-10-21 06:01:03 -04:00
|
|
|
name: Build and publish latest tag to Docker Hub (releases only)
|
|
|
|
on:
|
2023-01-16 03:27:58 -05:00
|
|
|
release:
|
|
|
|
types: [created]
|
2021-10-21 06:01:03 -04:00
|
|
|
|
2021-03-05 04:07:08 -05:00
|
|
|
jobs:
|
|
|
|
build:
|
2022-07-21 11:17:53 -04:00
|
|
|
name: build latest images for release
|
2021-03-05 04:07:08 -05:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2021-03-17 05:05:37 -04:00
|
|
|
- name: Push ovpn-admin image to Docker Hub
|
2021-03-09 10:14:25 -05:00
|
|
|
uses: docker/build-push-action@v1
|
|
|
|
with:
|
2021-03-09 10:28:56 -05:00
|
|
|
username: ${{ secrets.DOCKER_USER }}
|
|
|
|
password: ${{ secrets.DOCKER_PASS }}
|
2023-01-16 03:26:21 -05:00
|
|
|
repository: erste/openvpn
|
2021-03-09 10:28:56 -05:00
|
|
|
tags: latest
|
|
|
|
dockerfile: Dockerfile
|