Skip to content

Commit

Permalink
Merge pull request #35 from stfc/dependabot/github_actions/docker/bui…
Browse files Browse the repository at this point in the history
…ld-push-action-6

Bump docker/build-push-action from 3 to 6
  • Loading branch information
RWhiting78 authored Nov 7, 2024
2 parents fc068fc + c855ab3 commit f7ec40c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
password: ${{ secrets.HARBOR_TOKEN }}
- name: Build & push to staging
if: ${{ github.ref != 'refs/heads/master' }}
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
cache-from: type=gha
cache-to: type=gha,mode=max
Expand All @@ -67,7 +67,7 @@ jobs:
tags: "harbor.stfc.ac.uk/stfc-cloud-staging/${{ matrix.image }}:${{ needs.setup.outputs.sha }}"
- name: Build & push to prod
if: ${{ github.ref == 'refs/heads/master' }}
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
push: true
context: "{{defaultContext}}:${{ matrix.image }}"
Expand Down

0 comments on commit f7ec40c

Please sign in to comment.