From c19fb9397cb4934fedb610008af9aed09ce6a5a3 Mon Sep 17 00:00:00 2001 From: Bill Church Date: Fri, 8 Jul 2022 16:14:02 -0400 Subject: [PATCH] chore: push docker image on new tag #287 --- .github/workflows/docker-image-tags.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/docker-image-tags.yml diff --git a/.github/workflows/docker-image-tags.yml b/.github/workflows/docker-image-tags.yml new file mode 100644 index 0000000..f712a6a --- /dev/null +++ b/.github/workflows/docker-image-tags.yml @@ -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 }} \ No newline at end of file