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