From 9bfe404e9aad5c24651428510264254a9f9748cc Mon Sep 17 00:00:00 2001 From: Daniele Ricci Date: Sun, 27 Aug 2023 14:58:12 +0200 Subject: [PATCH] Cronjob image (once a day, fixed for now) --- .github/workflows/docker-image.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 3f0900c..ce56ad0 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -115,13 +115,11 @@ jobs: - name: Build and push uses: docker/build-push-action@v4 - env: - # FIXME this should reflect the tag/branch/whatever we are building - COMMAND_VERSION: "latest" with: context: cronjob - build-args: - COMMAND_VERSION + # FIXME this should reflect the tag/branch/whatever we are building + build-args: | + COMMAND_VERSION=latest push: true tags: ${{ steps.metadata.outputs.tags }} labels: ${{ steps.metadata.outputs.labels }}