From 522a429b8e7a4b016ec8733392e00774fee2839f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferm=C3=ADn=20Gal=C3=A1n=20M=C3=A1rquez?= Date: Fri, 19 Jul 2024 10:51:27 +0200 Subject: [PATCH] FIX gitactions syntax --- .github/workflows/publishimage-master.yml | 2 +- .github/workflows/publishimage-tag.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publishimage-master.yml b/.github/workflows/publishimage-master.yml index c28487ce23..5e7ada2398 100644 --- a/.github/workflows/publishimage-master.yml +++ b/.github/workflows/publishimage-master.yml @@ -27,7 +27,7 @@ jobs: password: ${{ secrets.DOCKERHUB_TEF_TOKEN }} - name: Build Docker image - run: + run: | export TOKEN=${{ secrets.REPO_ACCESS_TOKEN }} docker build -t telefonicaiot/fiware-orion:latest --build-arg GIT_REV_ORION=master --secret id=repo_token,env=TOKEN --no-cache -f docker/Dockerfile . diff --git a/.github/workflows/publishimage-tag.yml b/.github/workflows/publishimage-tag.yml index 4ff10ad638..1dd80f8f95 100644 --- a/.github/workflows/publishimage-tag.yml +++ b/.github/workflows/publishimage-tag.yml @@ -30,7 +30,7 @@ jobs: run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV - name: Build Docker image - run: + run: | export TOKEN=${{ secrets.REPO_ACCESS_TOKEN }} docker build -t telefonicaiot/fiware-orion:${{ env.VERSION }} --build-arg GIT_REV_ORION=${{ env.VERSION }} --secret id=repo_token,env=TOKEN --no-cache -f docker/Dockerfile .