From b60d2ae5e3365262c60f84064acf326f37baa5e5 Mon Sep 17 00:00:00 2001 From: Jade Carino Date: Tue, 23 Jul 2024 17:45:38 +0100 Subject: [PATCH] Final change Signed-off-by: Jade Carino --- .github/workflows/build.yaml | 6 +++--- .github/workflows/pr-build.yaml | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index b233a68..d31683b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -2,8 +2,7 @@ name: Main build on: workflow_dispatch: - # push: - pull_request: + push: branches: [main] env: @@ -62,6 +61,7 @@ jobs: with: images: ${{ env.REGISTRY }}/${{ env.NAMESPACE }}/gradle-maven-artefacts + # A Docker image containing the built Maven artefacts is deployed to the dev Maven registry - name: Build Gradle image for development Maven registry id: build uses: docker/build-push-action@v5 @@ -71,7 +71,7 @@ jobs: push: true tags: ${{ steps.metadata.outputs.tags }} labels: ${{ steps.metadata.outputs.labels }} - # dockerRepository will change to ghcr.io once the Wrapping image is available there + # Temporary: dockerRepository will change to ghcr.io once the Wrapping image is available there build-args: | dockerRepository=harbor.galasa.dev tag=${{ env.BRANCH }} diff --git a/.github/workflows/pr-build.yaml b/.github/workflows/pr-build.yaml index 1c3b17d..8c4d1e5 100644 --- a/.github/workflows/pr-build.yaml +++ b/.github/workflows/pr-build.yaml @@ -2,8 +2,7 @@ name: PR build on: workflow_dispatch: - # pull_request: - push: + pull_request: branches: [main] env: