Skip to content

Commit

Permalink
Fixes docker login command. Flags go first. (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmoran authored Jun 1, 2020
1 parent bd28c7a commit 41010d3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/push-buildpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ jobs:
uses: paketo-buildpacks/github-config/actions/buildpackage/download@gcr-push
- name: Push
run: |
docker login gcr.io \
--username _json_key \
--password "${{ secrets.GCR_PUSH_BOT_JSON_KEY }}"
docker login --username _json_key --password "${{ secrets.GCR_PUSH_BOT_JSON_KEY }}" gcr.io
docker import image "${GITHUB_WORKSPACE}/${{ steps.download.outputs.buildpackage }}" "gcr.io/${{ github.repository }}:${{ steps.download.outputs.tag }}"
docker push "gcr.io/${{ github.repository }}:${{ steps.download.outputs.tag }}"

0 comments on commit 41010d3

Please sign in to comment.