Skip to content

Commit

Permalink
Merge pull request #19 from alphagov/fix-docker-image-tag
Browse files Browse the repository at this point in the history
Fix GitHub Actions syntax issue
  • Loading branch information
nimalank7 authored Feb 5, 2025
2 parents 6add77f + d3b28f3 commit bef9213
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,25 +43,25 @@ jobs:
with:
context: ./dynamic
push: false
tags: ghcr.io/alphagov/dynamic-ckan-harvest-source:$tag
tags: ghcr.io/alphagov/dynamic-ckan-harvest-source:${{ env.tag }}
- name: Build static
if: ${{ inputs.buildType == 'build_only' }}
uses: docker/build-push-action@v6
with:
context: ./static
push: false
tags: ghcr.io/alphagov/static-ckan-harvest-source:$tag
tags: ghcr.io/alphagov/static-ckan-harvest-source:${{ env.tag }}
- name: Build and push dynamic
if: ${{ inputs.buildType == 'build_push' || github.ref == 'refs/heads/main' }}
uses: docker/build-push-action@v6
with:
context: ./dynamic
push: true
tags: ghcr.io/alphagov/dynamic-ckan-harvest-source:$tag
tags: ghcr.io/alphagov/dynamic-ckan-harvest-source:${{ env.tag }}
- name: Build and push static
if: ${{ inputs.buildType == 'build_push' || github.ref == 'refs/heads/main' }}
uses: docker/build-push-action@v6
with:
context: ./static
push: true
tags: ghcr.io/alphagov/static-ckan-harvest-source:$tag
tags: ghcr.io/alphagov/static-ckan-harvest-source:${{ env.tag }}

0 comments on commit bef9213

Please sign in to comment.