mirror of
https://github.com/willnorris/imageproxy.git
synced 2024-12-16 21:56:43 -05:00
.github/workfow: try to fix fly deploy
go back to remote-only build for fly deploy, but use buildx v0.9.1 for building the docker image. Also add manual trigger for fly deploy action.
This commit is contained in:
parent
431c70aaa9
commit
f314cbfc87
2 changed files with 5 additions and 2 deletions
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
|
@ -4,7 +4,7 @@ on:
|
|||
workflows: [Docker]
|
||||
types: [completed]
|
||||
branches: [main]
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
group: production
|
||||
|
@ -18,6 +18,6 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: superfly/flyctl-actions/setup-flyctl@master
|
||||
- run: flyctl -c etc/fly.toml deploy --local-only
|
||||
- run: flyctl -c etc/fly.toml deploy --remote-only
|
||||
env:
|
||||
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
|
||||
|
|
3
.github/workflows/docker.yml
vendored
3
.github/workflows/docker.yml
vendored
|
@ -26,6 +26,9 @@ jobs:
|
|||
|
||||
- name: Setup Docker buildx
|
||||
uses: docker/setup-buildx-action@8c0edbc76e98fa90f69d9a2c020dcb50019dc325 # v2.2.1
|
||||
with:
|
||||
# use buildx v0.9.1 (https://community.fly.io/t/10171/26)
|
||||
version: v0.9.1
|
||||
|
||||
- name: Log into registry ${{ env.REGISTRY }}
|
||||
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2.1.0
|
||||
|
|
Loading…
Reference in a new issue