Skip to content

Commit 4d3eacd

Browse files
committed
Autodeploy to Bunny magic containers
1 parent 1d1db46 commit 4d3eacd

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/ci.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ jobs:
5555
ghcr.io/httptoolkit/testserver
5656
rg.nl-ams.scw.cloud/httptoolkit/testserver
5757
tags: |
58-
type=raw,value=prod,enable={{is_default_branch}}
5958
type=raw,value=latest,enable={{is_default_branch}}
6059
type=sha
6160
@@ -66,4 +65,12 @@ jobs:
6665
platforms: linux/amd64,linux/arm64
6766
tags: ${{ steps.meta.outputs.tags }}
6867
labels: ${{ steps.meta.outputs.labels }}
69-
build-args: VERSION=${{ github.sha }}
68+
build-args: VERSION=${{ github.sha }}
69+
70+
- name: Deploy to Bunny
71+
uses: BunnyWay/actions/container-update-image@container-update-image_0.1.1
72+
with:
73+
app_id: ${{ vars.BUNNY_APP_ID }}
74+
api_key: ${{ secrets.BUNNY_API_KEY }}
75+
container: TestServer
76+
image_tag: "${{ github.sha }}"

0 commit comments

Comments
 (0)