From c41ab7a528e60e78cad8bff7233990130f815b4a Mon Sep 17 00:00:00 2001 From: Phillip Date: Tue, 19 Dec 2023 14:20:41 +0100 Subject: [PATCH] BC-5658 update gh-actions, remove dof_bingo (#240) --- .github/workflows/clean.yml | 1 - .github/workflows/push.yml | 6 +++--- .github/workflows/tag.yml | 9 +++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/clean.yml b/.github/workflows/clean.yml index dec6369..894a3af 100644 --- a/.github/workflows/clean.yml +++ b/.github/workflows/clean.yml @@ -15,4 +15,3 @@ jobs: DEV_KUBE_CONFIG_NBC: ${{ secrets.DEV_KUBE_CONFIG_NBC }} DEV_KUBE_CONFIG_THR: ${{ secrets.DEV_KUBE_CONFIG_THR }} DEV_KUBE_CONFIG_DBC: ${{ secrets.DEV_KUBE_CONFIG_DBC }} - BINGO_REPO_TOKEN: ${{ secrets.BINGO_REPO_TOKEN }} diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 882ddc3..45367f6 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -15,7 +15,7 @@ jobs: permissions: packages: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Docker meta Service Name id: docker_meta_img uses: crazy-max/ghaction-docker-meta@v4 @@ -42,12 +42,13 @@ jobs: - name: Build and push ${{ github.repository }} if: ${{ env.IMAGE_EXISTS == 0 }} - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . file: ./Dockerfile platforms: linux/amd64 push: true + pull: true tags: ghcr.io/${{ github.repository }}:${{ github.sha }} labels: ${{ steps.docker_meta_img.outputs.labels }} @@ -78,7 +79,6 @@ jobs: DEV_KUBE_CONFIG_NBC: ${{ secrets.DEV_KUBE_CONFIG_NBC }} DEV_KUBE_CONFIG_THR: ${{ secrets.DEV_KUBE_CONFIG_THR }} DEV_KUBE_CONFIG_DBC: ${{ secrets.DEV_KUBE_CONFIG_DBC }} - BINGO_REPO_TOKEN: ${{ secrets.BINGO_REPO_TOKEN }} deploy-successful: needs: diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index fddbe69..1c60d87 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -13,10 +13,10 @@ jobs: contents: read packages: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Docker meta Service Name id: docker_meta_img - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ghcr.io/${{ github.repository }} tags: | @@ -25,7 +25,7 @@ jobs: - name: Docker meta Service Name for docker hub id: docker_meta_img_hub - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: docker.io/schulcloud/superhero-dashboard, quay.io/schulcloudverbund/superhero-dashboard tags: | @@ -46,11 +46,12 @@ jobs: password: ${{ secrets.QUAY_TOKEN }} - name: Build and push ${{ github.repository }} - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . file: ./Dockerfile platforms: linux/amd64 push: true + pull: true tags: ${{ steps.docker_meta_img_hub.outputs.tags }} labels: ${{ steps.docker_meta_img_hub.outputs.labels }}