diff --git a/.github/workflows/create-docker-image.yml b/.github/workflows/create-docker-image.yml index c6b0817ce77..b38cac5d722 100644 --- a/.github/workflows/create-docker-image.yml +++ b/.github/workflows/create-docker-image.yml @@ -53,20 +53,15 @@ jobs: mv ${RELEASE_TAR_GZ_FILENAME} docker/ fi echo "RELEASE=${RELEASE}" >>${GITHUB_ENV} - - name: Create Annotations - id: meta - uses: docker/metadata-action@v5 - with: - labels: | - maintainer=axel.uhl@sap.com - manifest:org.opencontainers.image.title=Sailing Analytics - manifest:org.opencontainers.image.description=The Sailing Analytics Web Application - name: Build & push Docker image uses: docker/build-push-action@v5 with: build-args: RELEASE=${{ env.RELEASE }} tags: ghcr.io/sap/sailing-analytics:${{ env.RELEASE }}${{ env.BRANCH == 'main' && github.event.inputs.release == '' && ',ghcr.io/sap/sailing-analytics:latest' || env.BRANCH == 'docker-17' && github.event.inputs.release == '' && ',ghcr.io/sap/sailing-analytics:latest-17' || '' }} - annotations: ${{ steps.meta.outputs.annotations }} + annotations: | + maintainer=axel.uhl@sap.com + manifest:org.opencontainers.image.title=Sailing Analytics + manifest:org.opencontainers.image.description=The Sailing Analytics Web Application file: ${{ env.BRANCH == 'docker-17' && 'docker/Dockerfile_sapsailing_on_sapmachine17' || 'docker/Dockerfile' }} context: docker/ platforms: linux/amd64,linux/arm64