From a3c52a89f216d2655b568d14ab3f19ea62ba0453 Mon Sep 17 00:00:00 2001 From: "maximilian.schubert@telekom.de" Date: Tue, 28 Nov 2023 15:27:01 +0100 Subject: [PATCH] ci: debug image --- .github/workflows/artifacts.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml index 1832fd1a..fdf57390 100644 --- a/.github/workflows/artifacts.yml +++ b/.github/workflows/artifacts.yml @@ -44,13 +44,6 @@ jobs: type=semver,pattern={{major}}.{{minor}} type=raw,value=latest,enable={{is_default_branch}} - - name: Login to GitHub Container Registry - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ github.token }} - - name: Build image id: build uses: docker/build-push-action@v5 @@ -79,13 +72,20 @@ jobs: with: sarif_file: "trivy-results.sarif" + - name: Login to GitHub Container Registry + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ github.token }} + - name: Build and push image id: push uses: docker/build-push-action@v5 with: context: . push: true - platforms: linux/amd64,linux/arm64,linux/arm/v7 + platforms: linux/amd64,linux/arm64 tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} build-args: VERSION=${{ github.ref_name }}