Skip to content

Commit

Permalink
Merge pull request #15 from alphagov/fix-build-image
Browse files Browse the repository at this point in the history
Fix build image and the github action name
  • Loading branch information
kentsanggds authored Dec 7, 2023
2 parents eb73212 + 64ee93f commit f79a3cb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:

jobs:
build_and_push:
name: ${{ matrix.app.name }} (${{ matrix.arch }})
name: Build and push dyanmic and static harvest source images
runs-on: ubuntu-latest
permissions:
packages: write
Expand All @@ -36,25 +36,25 @@ jobs:
with:
context: ./dynamic
push: false
tags: alphagov/dynamic-ckan-harvest-source:1.0.0
tags: ghcr.io/alphagov/dynamic-ckan-harvest-source:1.0.0
- name: Build static
if: ${{ inputs.buildType == 'build_only' }}
uses: docker/build-push-action@v5
with:
context: ./static
push: false
tags: alphagov/static-ckan-harvest-source:1.0.0
tags: ghcr.io/alphagov/static-ckan-harvest-source:1.0.0
- name: Build and push dynamic
if: ${{ inputs.buildType == 'build_push' || github.ref == 'refs/heads/main' }}
uses: docker/build-push-action@v5
with:
context: ./dynamic
push: true
tags: alphagov/dynamic-ckan-harvest-source:1.0.0
tags: ghcr.io/alphagov/dynamic-ckan-harvest-source:1.0.0
- 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
tags: ghcr.io/alphagov/static-ckan-harvest-source:1.0.0

0 comments on commit f79a3cb

Please sign in to comment.