chore: update release workflow to use azure/docker-login action

This will enable the goreleaser action to actually push to docker hub.

See https://github.com/marketplace/actions/docker-login
This commit is contained in:
pancho horrillo
2020-05-06 04:45:01 +02:00
committed by pancho horrillo
parent ae5bd9b395
commit e506fb2013
+5
View File
@@ -25,6 +25,11 @@ jobs:
RELNOTES="docs/release-notes/RELEASE-${GITHUB_REF#refs/tags/}.md" RELNOTES="docs/release-notes/RELEASE-${GITHUB_REF#refs/tags/}.md"
[[ -f "$RELNOTES" ]] && echo ::set-output name=ARGS::--release-notes $RELNOTES || true [[ -f "$RELNOTES" ]] && echo ::set-output name=ARGS::--release-notes $RELNOTES || true
- uses: azure/docker-login@v1
with:
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- uses: goreleaser/goreleaser-action@v1 - uses: goreleaser/goreleaser-action@v1
with: with:
args: release --rm-dist ${{ steps.release-notes.outputs.ARGS }} args: release --rm-dist ${{ steps.release-notes.outputs.ARGS }}