mirror of https://github.com/wg-easy/wg-easy
committed by
GitHub
1 changed files with 23 additions and 0 deletions
@ -0,0 +1,23 @@ |
|||||
|
name: Docker Image CI |
||||
|
|
||||
|
on: |
||||
|
push: |
||||
|
branches: |
||||
|
- 'master' |
||||
|
jobs: |
||||
|
build-container: |
||||
|
name: Build Docker container image |
||||
|
runs-on: ubuntu-latest |
||||
|
steps: |
||||
|
- name: Checkout |
||||
|
uses: actions/checkout@v2 |
||||
|
- name: Login to Docker Hub |
||||
|
uses: docker/login-action@v1 |
||||
|
with: |
||||
|
username: ${{ secrets.DOCKER_HUB_USERNAME }} |
||||
|
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} |
||||
|
- name: Publish to Docker Hub |
||||
|
uses: docker/build-push-action@v2 |
||||
|
with: |
||||
|
push: true |
||||
|
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/wg:latest |
||||
Loading…
Reference in new issue