diff --git a/.gitea/workflows/pipeline.yml b/.gitea/workflows/pipeline.yml index 36ae26e4..46f6f122 100644 --- a/.gitea/workflows/pipeline.yml +++ b/.gitea/workflows/pipeline.yml @@ -31,9 +31,9 @@ jobs: - name: Set variables id: vars run: | - echo "image_tag=$(echo ${{ gitea.sha }} | cut -c1-8)" >> $GITEa_OUTPUT - echo "image_sha=${{ gitea.sha }}" >> $GITEa_OUTPUT - echo "build_time=$(date -u +"%Y-%m-%dT%H:%M:%SZ")" >> $GITEa_OUTPUT + echo "image_tag=$(echo ${{ gitea.sha }} | cut -c1-8)" >> $GITHUB_OUTPUT + echo "image_sha=${{ gitea.sha }}" >> $GITHUB_OUTPUT + echo "build_time=$(date -u +"%Y-%m-%dT%H:%M:%SZ")" >> $GITHUB_OUTPUT - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -122,9 +122,9 @@ jobs: id: prod_image run: | if [ -n "${{ gitea.event.inputs.image_tag }}" ]; then - echo "image_tag=${{ gitea.event.inputs.image_tag }}" >> $GITEa_OUTPUT + echo "image_tag=${{ gitea.event.inputs.image_tag }}" >> $GITHUB_OUTPUT else - echo "image_tag=latest" >> $GITEa_OUTPUT + echo "image_tag=latest" >> $GITHUB_OUTPUT fi - name: Deploy to Production Server