chore: replace master by main as default branch

This commit is contained in:
Robert Kaussow 2021-01-03 16:15:25 +01:00
parent a706a86936
commit c8047a952d
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
4 changed files with 28 additions and 28 deletions

View File

@ -52,7 +52,7 @@ local PipelineLint = {
},
],
trigger: {
ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'],
ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'],
},
};
@ -81,7 +81,7 @@ local PipelineTest = {
'lint',
],
trigger: {
ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'],
ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'],
},
};
@ -112,7 +112,7 @@ local PipelineSecurity = {
'test',
],
trigger: {
ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'],
ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'],
},
};
@ -176,7 +176,7 @@ local PipelineBuildPackage = {
'security',
],
trigger: {
ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'],
ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'],
},
};
@ -227,7 +227,7 @@ local PipelineBuildContainer(arch='amd64') = {
password: { from_secret: 'docker_password' },
},
when: {
ref: ['refs/heads/master', 'refs/tags/**'],
ref: ['refs/heads/main', 'refs/tags/**'],
},
depends_on: ['dryrun'],
},
@ -245,7 +245,7 @@ local PipelineBuildContainer(arch='amd64') = {
password: { from_secret: 'quay_password' },
},
when: {
ref: ['refs/heads/master', 'refs/tags/**'],
ref: ['refs/heads/main', 'refs/tags/**'],
},
depends_on: ['dryrun'],
},
@ -254,7 +254,7 @@ local PipelineBuildContainer(arch='amd64') = {
'security',
],
trigger: {
ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'],
ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'],
},
};
@ -351,7 +351,7 @@ local PipelineNotifications = {
'build-container-arm',
],
trigger: {
ref: ['refs/heads/master', 'refs/tags/**'],
ref: ['refs/heads/main', 'refs/tags/**'],
status: ['success', 'failure'],
},
};

View File

@ -32,7 +32,7 @@ image_pull_secrets:
trigger:
ref:
- refs/heads/master
- refs/heads/main
- refs/tags/**
- refs/pull/**
@ -103,7 +103,7 @@ image_pull_secrets:
trigger:
ref:
- refs/heads/master
- refs/heads/main
- refs/tags/**
- refs/pull/**
@ -134,7 +134,7 @@ image_pull_secrets:
trigger:
ref:
- refs/heads/master
- refs/heads/main
- refs/tags/**
- refs/pull/**
@ -197,7 +197,7 @@ image_pull_secrets:
trigger:
ref:
- refs/heads/master
- refs/heads/main
- refs/tags/**
- refs/pull/**
@ -253,7 +253,7 @@ steps:
from_secret: docker_username
when:
ref:
- refs/heads/master
- refs/heads/main
- refs/tags/**
depends_on:
- dryrun
@ -274,7 +274,7 @@ steps:
from_secret: quay_username
when:
ref:
- refs/heads/master
- refs/heads/main
- refs/tags/**
depends_on:
- dryrun
@ -284,7 +284,7 @@ image_pull_secrets:
trigger:
ref:
- refs/heads/master
- refs/heads/main
- refs/tags/**
- refs/pull/**
@ -340,7 +340,7 @@ steps:
from_secret: docker_username
when:
ref:
- refs/heads/master
- refs/heads/main
- refs/tags/**
depends_on:
- dryrun
@ -361,7 +361,7 @@ steps:
from_secret: quay_username
when:
ref:
- refs/heads/master
- refs/heads/main
- refs/tags/**
depends_on:
- dryrun
@ -371,7 +371,7 @@ image_pull_secrets:
trigger:
ref:
- refs/heads/master
- refs/heads/main
- refs/tags/**
- refs/pull/**
@ -427,7 +427,7 @@ steps:
from_secret: docker_username
when:
ref:
- refs/heads/master
- refs/heads/main
- refs/tags/**
depends_on:
- dryrun
@ -448,7 +448,7 @@ steps:
from_secret: quay_username
when:
ref:
- refs/heads/master
- refs/heads/main
- refs/tags/**
depends_on:
- dryrun
@ -458,7 +458,7 @@ image_pull_secrets:
trigger:
ref:
- refs/heads/master
- refs/heads/main
- refs/tags/**
- refs/pull/**
@ -551,7 +551,7 @@ image_pull_secrets:
trigger:
ref:
- refs/heads/master
- refs/heads/main
- refs/tags/**
status:
- success
@ -565,6 +565,6 @@ depends_on:
---
kind: signature
hmac: 4c6bdf01a4f50e3fc0c46a222b0bce6602a8f7f12044b9f2daea8366d2a4dd9c
hmac: 89b486c8acd23db08d74f6c0c26ccae5a491727a28757201c7ec0ddd3a1de3ac
...

View File

@ -10,7 +10,7 @@ repository:
has_wiki: false
has_downloads: false
default_branch: master
default_branch: main
allow_squash_merge: true
allow_merge_commit: true
@ -46,7 +46,7 @@ labels:
description: This will not be worked on
branches:
- name: master
- name: main
protection:
required_pull_request_reviews: null
required_status_checks:

View File

@ -10,7 +10,7 @@ Create docker tags from a given version string
[![PyPi Release](https://img.shields.io/pypi/v/docker-autotag.svg)](https://pypi.org/project/docker-autotag/)
[![GitHub contributors](https://img.shields.io/github/contributors/thegeeklab/docker-autotag)](https://github.com/thegeeklab/docker-autotag/graphs/contributors)
[![Source: GitHub](https://img.shields.io/badge/source-github-blue.svg?logo=github&logoColor=white)](https://github.com/thegeeklab/docker-autotag)
[![License: MIT](https://img.shields.io/github/license/thegeeklab/docker-autotag)](https://github.com/thegeeklab/docker-autotag/blob/master/LICENSE)
[![License: MIT](https://img.shields.io/github/license/thegeeklab/docker-autotag)](https://github.com/thegeeklab/docker-autotag/blob/main/LICENSE)
Simple tool to create a list of docker tags from a given version string.
@ -66,8 +66,8 @@ DOCKER_AUTOTAG_EXTRA_TAGS=extra1,extra2 DOCKER_AUTOTAG_VERSION=1.0.0 docker-auto
## Contributors
Special thanks goes to all [contributors](https://github.com/thegeeklab/docker-autotag/graphs/contributors). If you would like to contribute,
please see the [instructions](https://github.com/thegeeklab/docker-autotag/blob/master/CONTRIBUTING.md).
please see the [instructions](https://github.com/thegeeklab/docker-autotag/blob/main/CONTRIBUTING.md).
## License
This project is licensed under the MIT License - see the [LICENSE](https://github.com/thegeeklab/docker-autotag/blob/master/LICENSE) file for details.
This project is licensed under the MIT License - see the [LICENSE](https://github.com/thegeeklab/docker-autotag/blob/main/LICENSE) file for details.