Skip to content

Commit

Permalink
chore: replace deprectad gh actions command (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
hughcrt authored Apr 6, 2024
1 parent 7b06234 commit 8468f99
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-push-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:

- name: Generate data
id: date
run: echo "::set-output name=date::$(date +%Y-%m-%d-%Hh%Mm%Ss)"
run: echo "date=$(date +%Y-%m-%d-%Hh%Mm%Ss)" >> $GITHUB_OUTPUT

- name: Get short commit hash
id: commit
run: echo "::set-output name=hash::$(git rev-parse --short HEAD)"
run: echo "hash=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand All @@ -36,7 +36,7 @@ jobs:

- name: Remove 'v' prefix from release tag
id: release_tag
run: echo "::set-output name=tag::$(echo ${{ github.event.release.tag_name }} | sed 's/^v//')"
run: echo "tag=$(echo ${{ github.event.release.tag_name }} | sed 's/^v//')" >> $GITHUB_OUTPUT

- name: Build and push backend
uses: docker/build-push-action@v5
Expand Down

0 comments on commit 8468f99

Please sign in to comment.