Skip to content

Build and deploy init container #3

Build and deploy init container

Build and deploy init container #3

Workflow file for this run

name: Docker
on:
pull_request:
paths:
- Dockerfile
types: [opened, synchronize]
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
stage: [
"final",
"initcontainer"
]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build docker image
uses: docker/build-push-action@v6
with:
secrets: github_token=${{ secrets.GITHUB_TOKEN }}
cache-from: type=gha
cache-to: type=gha
target: ${{ matrix.stage }}
push: false