diff --git a/.gitea/workflows/container-build.yaml b/.gitea/workflows/container-build.yaml index 069be7a..4d653d4 100644 --- a/.gitea/workflows/container-build.yaml +++ b/.gitea/workflows/container-build.yaml @@ -15,8 +15,8 @@ jobs: - name: Make tag id: tag_vars run: echo "IMAGE_NAME=$(echo $GITHUB_SERVER_URL/$GITHUB_REPOSITORY | tr '[:upper:]' '[:lower:]' | cut -d '/' -f3-)" >> $GITHUB_OUTPUT - - name: Print tag - run: echo ${{ steps.tag_vars.outputs.IMAGE_NAME }} + - name: Docker login + run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ${{ GITHUB_SERVER_URL }} -u ${{ GITHUB_REPOSITORY_OWNER }} - name: Docker pull run: docker pull ubuntu:latest - name: Var envs