Browse Source

Create docker-image.yml

pull/587/head
kaiot 4 years ago
committed by GitHub
parent
commit
85cee2d450
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 23
      .github/workflows/docker-image.yml

23
.github/workflows/docker-image.yml

@ -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…
Cancel
Save