From 73272658c76164e84e3baa3c10fda1257fb32e80 Mon Sep 17 00:00:00 2001 From: Daniele Ricci Date: Sun, 27 Aug 2023 15:30:45 +0200 Subject: [PATCH] Cronjob image (once a day, fixed for now) --- .github/workflows/docker-image.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index ffc3711..d140089 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -114,11 +114,6 @@ jobs: # Tag with git tag on release type=ref,event=tag type=raw,value=release,enable=${{ github.event_name == 'release' }} - - - name: Print commit SHA - run: | - echo "Sys: $GITHUB_SHA" - echo "Env: ${{ env.GITHUB_SHA }}" - name: Build and push uses: docker/build-push-action@v4 @@ -126,7 +121,7 @@ jobs: context: cronjob # FIXME this should reflect the tag/branch/whatever we are building build-args: | - COMMAND_VERSION=${{ env.GITHUB_SHA }} + COMMAND_VERSION=$GITHUB_SHA push: true tags: ${{ steps.metadata.outputs.tags }} labels: ${{ steps.metadata.outputs.labels }}