Skip to content

Bump docker/setup-qemu-action from 2 to 3 (#46) #75

Bump docker/setup-qemu-action from 2 to 3 (#46)

Bump docker/setup-qemu-action from 2 to 3 (#46) #75

Workflow file for this run

# This workflow will upload a Docker container
name: Build/Upload Docker Container
on:
workflow_dispatch:
push:
branches:
- 'master'
pull_request:
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
if: ${{ github.event_name != 'pull_request' }}
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Log in to Docker Hub
if: ${{ github.event_name != 'pull_request' }}
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Build and Push to Registries
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: |
ghcr.io/qmk/qmk_base_container:latest
qmkfm/base_container:latest