Skip to content

creatorrr is baking images #1

creatorrr is baking images

creatorrr is baking images #1

name: Bake images on PR
run-name: ${{ github.actor }} is baking images
on:
pull_request:
jobs:
Bake-Images:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: julepai
password: "${{ secrets.DOCKER_HUB_PASSWORD }}"
- name: Bake images
uses: docker/bake-action@v5
with:
files: |
./docker-bake.hcl
targets: agents-api
push: false
set: |
*.cache-from=type=gha
*.cache-to=type=gha,mode=max
*.args.TAG=pr-${{ github.ref_name }}
*.args.GIT_SHA=${{ github.sha }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/dev' }}