Skip to content

Commit

Permalink
Update workflows to go-auto-release
Browse files Browse the repository at this point in the history
  • Loading branch information
goruha committed Apr 19, 2024
1 parent db026af commit 587f594
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,17 @@ jobs:
steps:
- name: "Checkout source code at current commit"
uses: actions/checkout@v4
- name: "Build and push docker image to DockerHub"
uses: docker/build-push-action@v2

- name: Build
id: build
uses: cloudposse/[email protected]
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: ${{ github.repository }}
registry: registry-1.docker.io
tag_with_ref: true
tag_with_sha: true
organization: "${{ github.event.repository.owner.login }}"
repository: "${{ github.event.repository.name }}"
login: "${{ secrets.DOCKERHUB_USERNAME }}"
password: "${{ secrets.DOCKERHUB_PASSWORD }}"
platforms: linux/amd64,linux/arm64

release:
if: github.event_name == 'push'
Expand Down

0 comments on commit 587f594

Please sign in to comment.