diff --git a/.github/workflows/build_and_push_container.yml b/.github/workflows/build_and_push_container.yml index c865160..8ab1996 100644 --- a/.github/workflows/build_and_push_container.yml +++ b/.github/workflows/build_and_push_container.yml @@ -15,7 +15,6 @@ on: env: REGISTRY: lhr.ocir.io IMAGE_NAME: lrbvkel2wjot/gpas/gatekeeper_pipeline - IMAGE_NAME_GPAS_LTD: lr3yhdniv6gu/gpas/gatekeeper_pipeline jobs: build: @@ -64,25 +63,3 @@ jobs: file: Dockerfile tags: | ${{ env.GATEKEEPER_TAG }} - - - name: Login to gpasltd OCIR - uses: docker/login-action@v3 - with: - registry: ${{ env.REGISTRY }} - username: ${{ secrets.OCR_CONTAINER_USERNAME_GPASLTD }} - password: ${{ secrets.OCR_CONTAINER_TOKEN_GPASLTD }} - - - name: Set full image registry tag for gpasltd - run: | - echo "GATEKEEPER_TAG=${{ env.REGISTRY }}/${{ env.IMAGE_NAME_GPAS_LTD }}:${{ env.tag }}" >> $GITHUB_ENV - echo "GATEKEEPER_TAG: ${{ env.GATEKEEPER_TAG }}" - - - name: Build and push - id: build_and_push_gpasltd - uses: docker/build-push-action@v4 - with: - context: . - push: true - file: Dockerfile - tags: | - ${{ env.GATEKEEPER_TAG }} diff --git a/.github/workflows/bump.yml b/.github/workflows/bump.yml index e267fe9..eb7ce5f 100644 --- a/.github/workflows/bump.yml +++ b/.github/workflows/bump.yml @@ -42,11 +42,8 @@ jobs: echo "version=$(bumper version --active)" >> $GITHUB_OUTPUT - name: push changes - uses: ad-m/github-push-action@master - with: - github_token: ${{ secrets.PAT_TOKEN }} - tags: true - branch: develop + run: | + git push origin develop build_container: needs: bump