Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Commit 5c96390

Browse files
authored
Merge pull request #288 from detiber/master2main
🏃 Update to reflect renaming of master branch to main
2 parents b552b02 + c143fdb commit 5c96390

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
types: [opened, synchronize, reopened]
55
push:
66
branches:
7-
- master
7+
- main
88

99
env:
1010
KUBEBUILDER_DIR: /tmp/kubebuilder_install
@@ -47,11 +47,11 @@ jobs:
4747
env:
4848
KUBEBUILDER_ASSETS: ${{ env.KUBEBUILDER_DIR }}/bin
4949

50-
# these next steps are used for merge to master (push the images)
50+
# these next steps are used for merge to main (push the images)
5151
# they really should be separate workflows or jobs, but github actions is awful about sharing between them, so it must be one job
5252
- name: docker login
53-
if: github.event_name == 'push' && endsWith(github.ref,'/master')
53+
if: github.event_name == 'push' && endsWith(github.ref,'/main')
5454
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
55-
- name: deploy # when merged into master, tag master and push - ideally, this would be a separate job, but you cannot share docker build cache between jobs
56-
if: github.event_name == 'push' && endsWith(github.ref,'/master')
57-
run: make cd CONFIRM=true BRANCH_NAME=master
55+
- name: deploy # when merged into main, tag main and push - ideally, this would be a separate job, but you cannot share docker build cache between jobs
56+
if: github.event_name == 'push' && endsWith(github.ref,'/main')
57+
run: make cd CONFIRM=true BRANCH_NAME=main

docs/RELEASE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ When the VERSION file changes:
4747
* CI copies the artifacts in `out/release/infrastructure-packet/<version>/*yaml` to the github releases
4848
* CI builds docker images for each supported architecture as well as a multi-arch manifest, and tags it with:
4949
* the git hash of the commit
50-
* `master`
50+
* `main`
5151
* the semver tag of the release, e.g. `v0.3.1`
5252
* the tag `latest`
5353

0 commit comments

Comments
 (0)