From 3f6fa8308db7e5fb7c5bcf2df283fdf2f0be1bbc Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Sat, 5 Aug 2023 11:42:11 +0200 Subject: [PATCH] pipeline runner --- .gitea/workflows/container-build.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/container-build.yaml b/.gitea/workflows/container-build.yaml index a6baebf..d0ae509 100644 --- a/.gitea/workflows/container-build.yaml +++ b/.gitea/workflows/container-build.yaml @@ -16,7 +16,10 @@ jobs: run: docker pull ubuntu:latest - name: Var envs run: export + - name: Make tag + id: tag_vars + run: echo "IMAGE_NAME=\"$(echo \"$GITHUB_REPOSITORY\" | tr '[:upper:]' '[:lower:])'\"" >> $GITHUB_OUTPUT - name: Docker retag - run: docker tag ubuntu:latest $(echo "$GITHUB_REPOSITORY" | tr '[:upper:]' '[:lower:]'):latest + run: docker tag ubuntu:latest ${{ steps.tag_vars.outputs.IMAGE_NAME }}:latest - name: Docker push run: docker push $GITHUB_ACTION_REPOSITORY:latest