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: