Skip to content

Push each image

Push each image #8

Workflow file for this run

name: build
on:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/metadata-action@v5
id: metadata
with:
images: ghcr.io/${{ github.repository }}/__service__
- uses: docker/setup-buildx-action@v3
- uses: docker/bake-action@v5
with:
push: true
files: |
./docker-bake.hcl
${{ steps.metadata.outputs.bake-file }}