Skip to content

Commit 7a4ec37

Browse files
committed
temp: building the new images early for test
1 parent 6567bd8 commit 7a4ec37

File tree

1 file changed

+36
-4
lines changed

1 file changed

+36
-4
lines changed

.github/workflows/images.yaml

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,19 +77,37 @@ jobs:
7777
cache-from: type=gha
7878
cache-to: type=gha,mode=max
7979
-
80-
name: Build and push builder-base latest
80+
name: Build and push homedir root
8181
uses: docker/build-push-action@v5
8282
env:
8383
SOURCE_DATE_EPOCH: 0
8484
with:
85-
context: builder-base
85+
context: homedir
8686
tags: |
87-
ghcr.io/yolean/builder-base:latest
88-
ghcr.io/yolean/builder-base:${{ github.sha }}
87+
ghcr.io/yolean/homedir:root
88+
ghcr.io/yolean/homedir:${{ github.sha }}-root
8989
platforms: linux/amd64,linux/arm64/v8
9090
push: true
9191
cache-from: type=gha
9292
cache-to: type=gha,mode=max
93+
build-contexts: |
94+
yolean/docker-base=docker-image://ghcr.io/yolean/docker-base
95+
-
96+
name: Build and push homedir latest
97+
uses: docker/build-push-action@v5
98+
env:
99+
SOURCE_DATE_EPOCH: 0
100+
with:
101+
context: to-nonroot/homedir
102+
tags: |
103+
ghcr.io/yolean/homedir:latest
104+
ghcr.io/yolean/homedir:${{ github.sha }}
105+
platforms: linux/amd64,linux/arm64/v8
106+
push: true
107+
cache-from: type=gha
108+
cache-to: type=gha,mode=max
109+
build-contexts: |
110+
yolean/homedir:root=docker-image://ghcr.io/yolean/homedir:root
93111
-
94112
name: Build and push duckdb root
95113
uses: docker/build-push-action@v5
@@ -123,6 +141,20 @@ jobs:
123141
cache-to: type=gha,mode=max
124142
build-contexts: |
125143
yolean/duckdb:root=docker-image://ghcr.io/yolean/duckdb:root
144+
-
145+
name: Build and push builder-base latest
146+
uses: docker/build-push-action@v5
147+
env:
148+
SOURCE_DATE_EPOCH: 0
149+
with:
150+
context: builder-base
151+
tags: |
152+
ghcr.io/yolean/builder-base:latest
153+
ghcr.io/yolean/builder-base:${{ github.sha }}
154+
platforms: linux/amd64,linux/arm64/v8
155+
push: true
156+
cache-from: type=gha
157+
cache-to: type=gha,mode=max
126158
-
127159
name: Build and push builder-base-gcc latest
128160
uses: docker/build-push-action@v5

0 commit comments

Comments
 (0)