We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3172d35 commit 222626cCopy full SHA for 222626c
.github/workflows/ci.yml
@@ -67,10 +67,16 @@ 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: |
73
+ sha_tag=$(echo "${{ steps.meta.outputs.tags }}" | grep -o 'sha-[^[:space:]]*' | head -n 1)
74
+ echo "sha_tag=$sha_tag" >> $GITHUB_OUTPUT
75
+
76
- name: Deploy to Bunny
77
uses: BunnyWay/actions/container-update-image@container-update-image_0.1.1
78
with:
79
app_id: ${{ vars.BUNNY_APP_ID }}
80
api_key: ${{ secrets.BUNNY_API_KEY }}
81
container: TestServer
- image_tag: "${{ github.sha }}"
82
+ image_tag: "${{ steps.extract-sha.outputs.sha_tag }}"
0 commit comments