Skip to content

Commit

Permalink
More mystery
Browse files Browse the repository at this point in the history
  • Loading branch information
vanpelt committed Jun 22, 2024
1 parent 6c565b2 commit 0742969
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ jobs:
run: echo "short_sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Convert full SHA to short SHA
id: get_short_sha_cut
run: echo "short_sha=$(echo ${{ github.sha }} | cut -c1-7)" >> $GITHUB_OUTPUT
run: echo "short_sha_cut=$(echo ${{ github.sha }} | cut -c1-7)" >> $GITHUB_OUTPUT
- name: Run Playwright tests
env:
DOCKER_TAG: sha-${{ steps.get_short_sha.outputs.short_sha }}
Expand Down Expand Up @@ -201,5 +201,5 @@ jobs:
IMAGE: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
run: |
docker manifest inspect "${{ env.IMAGE }}:sha-${{ steps.get_short_sha.outputs.short_sha }}"
docker tag ${{ env.IMAGE }}:sha-${{ steps.get_short_sha.outputs.short_sha }} ${{ env.IMAGE }}:latest
docker push ${{ env.IMAGE }}:latest
docker tag "${{ env.IMAGE }}:sha-${{ steps.get_short_sha.outputs.short_sha }}" "${{ env.IMAGE }}:latest"
docker push "${{ env.IMAGE }}:latest"

0 comments on commit 0742969

Please sign in to comment.