From c4d8f5bc307cd043baec66a52d0bb0fc934a1fdf Mon Sep 17 00:00:00 2001 From: Conrad Schulz Date: Sat, 30 May 2026 11:06:13 +0000 Subject: [PATCH] =?UTF-8?q?ci:=20update=20GitHub=20Actions=20workflow=20br?= =?UTF-8?q?anch=20master=20=E2=86=92=20main?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../workflows/rd13_media_wiki_docker_build.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/rd13_media_wiki_docker_build.yml b/.github/workflows/rd13_media_wiki_docker_build.yml index 6be5434..9cdd528 100644 --- a/.github/workflows/rd13_media_wiki_docker_build.yml +++ b/.github/workflows/rd13_media_wiki_docker_build.yml @@ -2,9 +2,9 @@ name: Multiarch Build Docker CI for the rd13_media_wiki project on: push: - branches: [master] + branches: [main] pull_request: - branches: [master] + branches: [main] workflow_dispatch: jobs: @@ -15,11 +15,11 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 # fetch depth 0 is required for nx commands to properly compare code against main branch - - name: Create local master branch to use as baseline - if: github.ref != 'refs/heads/master' - run: git branch master origin/master + - name: Create local main branch to use as baseline + if: github.ref != 'refs/heads/main' + run: git branch main origin/main - name: install buildx - if: github.ref == 'refs/heads/master' + if: github.ref == 'refs/heads/main' id: buildx uses: docker/setup-buildx-action@v1 with: @@ -30,7 +30,7 @@ jobs: # with: # platforms: linux/amd64,linux/arm/v7,linux/arm64 - name: Login to GitHub Container Registry - if: github.ref == 'refs/heads/master' || github.event.label.name == 'dependencies' + if: github.ref == 'refs/heads/main' || github.event.label.name == 'dependencies' uses: docker/login-action@v1 with: registry: ghcr.io @@ -42,7 +42,7 @@ jobs: docker buildx build \ --platform linux/amd64 . - name: build and push the image - if: github.ref == 'refs/heads/master' + if: github.ref == 'refs/heads/main' run: | docker buildx build --push \ --tag ghcr.io/c-schulz-rd13/rd13_media_wiki:latest \