Skip to content

Update docker.yml

Update docker.yml #204

Workflow file for this run

name: Docker Image CI
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
with:
platforms: all
- uses: actions/checkout@v3
- run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
- run: docker buildx create --use
- name: Extract branch name
run: echo "GITHUB_BRANCH=$(echo ${GITHUB_REF#refs/heads/} | sed 's/\//-/g')" >> $GITHUB_ENV
- name: Print env variables for debugging
run: |
echo GITHUB_BRANCH=$GITHUB_BRANCH
echo GITHUB_REPOSITORY=$GITHUB_REPOSITORY
- run: docker buildx bake --progress=plain --push