Skip to content

Add no-cache option to docker bake action #96

Add no-cache option to docker bake action

Add no-cache option to docker bake action #96

Workflow file for this run

name: Docker Image CI
on:
push:
branches: ["master"]
jobs:
build:
runs-on: ubuntu-latest
environment: prod
permissions:
packages: write
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to ghcr
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GHA_PAT }}
- name: Build and push
uses: docker/bake-action@v4
with:
push: true
no-cache: true
set: |
*.output=type=docker,oci-mediatypes=false
*.platform=linux/arm64