chore: push docker image on new tag #287

This commit is contained in:
Bill Church 2022-07-08 16:14:02 -04:00
parent 4f3e806708
commit c19fb9397c

25
.github/workflows/docker-image-tags.yml vendored Normal file
View file

@ -0,0 +1,25 @@
name: Docker Image CI
on:
push:
tags: ["v*"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
name: Check out code
- uses: mr-smithers-excellent/docker-build-push@v5
name: Build & push Docker image
with:
image: billchurch/webssh2
tags: ${{ steps.meta.outputs.tags }}
registry: docker.io
dockerfile: Dockerfile
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}