From 5fcc4a34d8681ce602afd6f4ae6c82a50026c144 Mon Sep 17 00:00:00 2001 From: kentsanggds Date: Thu, 7 Dec 2023 11:20:17 +0000 Subject: [PATCH 1/2] Fix build_and_push github action name --- .github/workflows/build-image.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-image.yaml b/.github/workflows/build-image.yaml index 64f5916..e0cdadb 100644 --- a/.github/workflows/build-image.yaml +++ b/.github/workflows/build-image.yaml @@ -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 From 64ee93f003e9269bb80a76dd91bec426ca201a70 Mon Sep 17 00:00:00 2001 From: kentsanggds Date: Thu, 7 Dec 2023 12:00:48 +0000 Subject: [PATCH 2/2] Fix build-image tag to reference ghcr.io --- .github/workflows/build-image.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-image.yaml b/.github/workflows/build-image.yaml index e0cdadb..b115127 100644 --- a/.github/workflows/build-image.yaml +++ b/.github/workflows/build-image.yaml @@ -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