Skip to content

Commit

Permalink
ci: move docker auth lower
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorwhitney committed Oct 16, 2024
1 parent 984b7af commit 651b394
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/helm-weekly-release-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "Login to DockerHub (from vault)"
uses: "grafana/shared-workflows/actions/dockerhub-login@main"
- uses: imjasonh/[email protected]
- run: |
echo "${DOCKER_PASSWORD}" | crane auth login https://registry.hub.docker.com --username "${DOCKER_USERNAME}" --password-stdin
- id: "get_github_app_token"
name: "get github app token"
uses: "actions/create-github-app-token@v1"
Expand All @@ -27,6 +21,12 @@ jobs:
owner: "${{ github.repository_owner }}"
private-key: "${{ secrets.APP_PRIVATE_KEY }}"

- name: "Login to DockerHub (from vault)"
uses: "grafana/shared-workflows/actions/dockerhub-login@main"
- uses: imjasonh/[email protected]
- run: |
echo "${DOCKER_PASSWORD}" | crane auth login https://registry.hub.docker.com --username "${DOCKER_USERNAME}" --password-stdin
- name: Update/regenerate files
id: update-k
run: bash .github/workflows/scripts/helm-weekly-release.sh -k
Expand Down

0 comments on commit 651b394

Please sign in to comment.