diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 9fd03e16047..13aed167857 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -13,6 +13,7 @@ concurrency: env: package-name: monica-next + description: This is MonicaHQ, your personal memory! MonicaHQ is like a CRM but for the friends, family, and acquaintances around you. jobs: docker-run: @@ -36,7 +37,7 @@ jobs: tags: | type=sha labels: | - org.opencontainers.image.description="This is MonicaHQ, your personal memory! MonicaHQ is like a CRM but for the friends, family, and acquaintances around you." + org.opencontainers.image.description="${{ env.description }}" org.opencontainers.image.title="MonicaHQ, the Personal Relationship Manager" org.opencontainers.image.vendor="Monica" @@ -54,10 +55,6 @@ jobs: - name: Configure variables run: scripts/docker/build.sh --skip-build $GITHUB_SHA - - name: Fix labels - id: labels - run: scripts/ci/labels.sh labels "${{ steps.docker_meta.outputs.labels }}" - # Build docker - name: Docker build id: docker_build @@ -70,7 +67,7 @@ jobs: file: scripts/docker/Dockerfile context: . platforms: linux/amd64,linux/arm64 - outputs: ${{ steps.labels.outputs.labels }} + outputs: type=image,name=target,annotation-index.org.opencontainers.image.description="${{ env.description }}" - name: Image digest run: echo ${{ steps.docker_build.outputs.digest }}