Skip to content

Commit

Permalink
Adding docker publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
matang28 committed Feb 3, 2021
1 parent 2351f62 commit 0c21b73
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,23 @@ jobs:
goarch: ${{ matrix.goarch }}
project_path: "./"
binary_name: "go-report-builder"
extra_files: LICENSE README.md
extra_files: LICENSE README.md
docker:
name: Publish to DockerHub
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
name: Check out code

- uses: satackey/[email protected]
continue-on-error: true

- uses: mr-smithers-excellent/docker-build-push@v4
name: Build & push Docker image
with:
image: adikastyle/go-report-builder
tag: latest
registry: docker.io
dockerfile: Dockerfile
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

0 comments on commit 0c21b73

Please sign in to comment.