Skip to content

build(deps): bump docker/bake-action from 5 to 6 #413

build(deps): bump docker/bake-action from 5 to 6

build(deps): bump docker/bake-action from 5 to 6 #413

Workflow file for this run

name: Docker Image CI
on:
push:
branches:
- "**"
jobs:
build:
runs-on: ubuntu-latest
environment: prod
permissions:
packages: write
steps:
- uses: actions/checkout@v4
- name: Extract branch name
shell: bash
run: echo "BRANCH_NAME=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
- 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@v6
with:
push: true
provenance: false
set: |
*.platform=linux/arm64,linux/amd64/v3
dota.tags=ghcr.io/${{ github.repository_owner }}/dota:${{ env.BRANCH_NAME }}
twitch-chat.tags=ghcr.io/${{ github.repository_owner }}/twitch-chat:${{ env.BRANCH_NAME }}
steam.tags=ghcr.io/${{ github.repository_owner }}/steam:${{ env.BRANCH_NAME }}
twitch-events.tags=ghcr.io/${{ github.repository_owner }}/twitch-events:${{ env.BRANCH_NAME }}