Skip to content

Commit 7afda5c

Browse files
committed
ci: add a new workflow to build and push experimental images
1 parent 907c72b commit 7afda5c

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/experimental.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Build & Push experimental images
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 1 * *"
6+
workflow_dispatch:
7+
8+
concurrency:
9+
group: ${{ github.workflow }}
10+
cancel-in-progress: true
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/[email protected]
17+
- name: Login to Docker Hub
18+
uses: docker/login-action@v3
19+
with:
20+
username: ${{ secrets.DOCKER_USER }}
21+
password: ${{ secrets.DOCKER_PASSWORD }}
22+
- name: Login to GitHub Container Registry
23+
uses: docker/login-action@v3
24+
with:
25+
registry: ghcr.io
26+
username: ${{ github.actor }}
27+
password: ${{ secrets.GITHUB_TOKEN }}
28+
- name: Set up Docker Buildx
29+
id: buildx
30+
uses: docker/setup-buildx-action@v3
31+
- name: Build and push Docker images
32+
run: |
33+
BAKE_JSON="bakefiles/experimental.docker-bake.json" \
34+
BAKE_GROUP="default" \
35+
BAKE_OPTION=--push \
36+
make bake-json-group

0 commit comments

Comments
 (0)