We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3172d35 commit e65e42dCopy full SHA for e65e42d
.github/workflows/ci.yml
@@ -67,10 +67,14 @@ jobs:
67
labels: ${{ steps.meta.outputs.labels }}
68
build-args: VERSION=${{ github.sha }}
69
70
+ - name: Extract sha-* image label
71
+ id: extract-sha
72
+ run: echo "sha_tag=$(echo '${{ steps.meta.outputs.tags }}' | grep -o 'sha-[^,]*')" >> $GITHUB_OUTPUT
73
+
74
- name: Deploy to Bunny
75
uses: BunnyWay/actions/container-update-image@container-update-image_0.1.1
76
with:
77
app_id: ${{ vars.BUNNY_APP_ID }}
78
api_key: ${{ secrets.BUNNY_API_KEY }}
79
container: TestServer
- image_tag: "${{ github.sha }}"
80
+ image_tag: "${{ steps.extract-sha.outputs.sha_tag }}"
0 commit comments