Skip to content

Commit

Permalink
Add GITHUB_TOKEN to build-push-action secrets
Browse files Browse the repository at this point in the history
Push was failing without it
  • Loading branch information
kentsanggds committed Dec 7, 2023
1 parent eb73212 commit 5978aac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,14 @@ jobs:
context: ./dynamic
push: true
tags: alphagov/dynamic-ckan-harvest-source:1.0.0
secrets: |
GIT_AUTH_TOKEN=${{ secrets.GITHUB_TOKEN }}
- name: Build and push static
if: ${{ inputs.buildType == 'build_push' || github.ref == 'refs/heads/main' }}
uses: docker/build-push-action@v5
with:
context: ./static
push: true
tags: alphagov/static-ckan-harvest-source:1.0.0
secrets: |
GIT_AUTH_TOKEN=${{ secrets.GITHUB_TOKEN }}

0 comments on commit 5978aac

Please sign in to comment.