Skip to content

Commit

Permalink
Fix deprecated set-output
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais committed Jan 18, 2024
1 parent 889bd02 commit f3f1b9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_dataapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ jobs:
DATE=$(date +'%Y%m%d')
SHORT_SHA=$(echo ${{ github.sha }} | cut -c1-4)
TAG="v${DATE}-${SHORT_SHA}"
echo "::set-output name=tag::$TAG"
echo "tag=$TAG" >> "$GITHUB_OUTPUT"
- name: Build and Push Docker Image
run: |
TAG_LATEST=$IMAGE_NAME:latest
TAG_ENVIRONMENT=$IMAGE_NAME:production
TAG_VERSION=$IMAGE_NAME:${{ steps.prep.outputs.tag }}
TAG_VERSION=$IMAGE_NAME:${{ steps.version.outputs.tag }}
# Build Docker image with multiple tags
docker build -t $TAG_LATEST -t $TAG_VERSION -t $TAG_ENVIRONMENT $DOCKERFILE_PATH
Expand Down

0 comments on commit f3f1b9a

Please sign in to comment.