Skip to content

Commit

Permalink
ci: add a new workflow to build and push experimental images
Browse files Browse the repository at this point in the history
  • Loading branch information
eitsupi committed Apr 29, 2024
1 parent 907c72b commit 7afda5c
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/experimental.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build & Push experimental images

on:
schedule:
- cron: "0 0 1 * *"
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Build and push Docker images
run: |
BAKE_JSON="bakefiles/experimental.docker-bake.json" \
BAKE_GROUP="default" \
BAKE_OPTION=--push \
make bake-json-group

0 comments on commit 7afda5c

Please sign in to comment.