chore: push docker image on new tag #287
This commit is contained in:
parent
4f3e806708
commit
c19fb9397c
1 changed files with 25 additions and 0 deletions
25
.github/workflows/docker-image-tags.yml
vendored
Normal file
25
.github/workflows/docker-image-tags.yml
vendored
Normal 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 }}
|
Loading…
Reference in a new issue