Skip to content

Commit 835ad8a

Browse files
committed
ci: cleanup static build workflows
1 parent 73e9b64 commit 835ad8a

File tree

3 files changed

+1
-12
lines changed

3 files changed

+1
-12
lines changed

.github/workflows/docker.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ on:
2424
- cron: '0 4 * * *'
2525
env:
2626
IMAGE_NAME: ${{ (github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && inputs.version) || startsWith(github.ref, 'refs/tags/')) && 'dunglas/frankenphp' || 'dunglas/frankenphp-dev' }}
27-
LATEST: ${{ (github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && inputs.version) || startsWith(github.ref, 'refs/tags/')) && '0' || '1' }}
2827
jobs:
2928
prepare:
3029
runs-on: ubuntu-latest
@@ -81,8 +80,6 @@ jobs:
8180
name: Set up Docker Buildx
8281
if: ${{ !fromJson(steps.check.outputs.skip) }}
8382
uses: docker/setup-buildx-action@v3
84-
with:
85-
version: latest
8683
-
8784
name: Create variants matrix
8885
if: ${{ !fromJson(steps.check.outputs.skip) }}
@@ -143,7 +140,6 @@ jobs:
143140
uses: docker/setup-buildx-action@v3
144141
with:
145142
platforms: ${{ matrix.platform }}
146-
version: latest
147143
-
148144
name: Login to DockerHub
149145
if: fromJson(needs.prepare.outputs.push)

.github/workflows/static.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ on:
2424
- cron: '0 0 * * *'
2525
env:
2626
IMAGE_NAME: ${{ (github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && inputs.version) || startsWith(github.ref, 'refs/tags/')) && 'dunglas/frankenphp' || 'dunglas/frankenphp-dev' }}
27-
LATEST: ${{ (github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && inputs.version) || startsWith(github.ref, 'refs/tags/')) && '0' || '1' }}
2827
jobs:
2928
prepare:
3029
runs-on: ubuntu-latest
@@ -54,8 +53,6 @@ jobs:
5453
-
5554
name: Set up Docker Buildx
5655
uses: docker/setup-buildx-action@v3
57-
with:
58-
version: latest
5956
-
6057
name: Create platforms matrix
6158
id: matrix
@@ -108,7 +105,6 @@ jobs:
108105
uses: docker/setup-buildx-action@v3
109106
with:
110107
platforms: ${{ matrix.platform }}
111-
version: latest
112108
-
113109
name: Login to DockerHub
114110
if: ${{ fromJson(needs.prepare.outputs.push) && !matrix.debug && !matrix.mimalloc }}
@@ -190,7 +186,6 @@ jobs:
190186
- prepare
191187
- build-linux
192188
if: fromJson(needs.prepare.outputs.push)
193-
#if: fromJson(needs.prepare.outputs.push) && (needs.prepare.outputs.ref || github.ref_type == 'tag')
194189
steps:
195190
-
196191
name: Download metadata
@@ -201,8 +196,6 @@ jobs:
201196
-
202197
name: Set up Docker Buildx
203198
uses: docker/setup-buildx-action@v3
204-
with:
205-
version: latest
206199
-
207200
name: Login to DockerHub
208201
uses: docker/login-action@v3

docker-bake.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ variable "GO_VERSION" {
1717
variable "SHA" {}
1818

1919
variable "LATEST" {
20-
default = false
20+
default = true
2121
}
2222

2323
variable "CACHE" {

0 commit comments

Comments
 (0)