-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
91 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Bug report | ||
description: Declare something that doesn't work as it should | ||
title: "[Bug]: " | ||
labels: ["bug", "triage"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
## Description | ||
- type: textarea | ||
id: problem | ||
attributes: | ||
label: Problem | ||
description: What is the problem you are experiencing? | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: impact | ||
attributes: | ||
label: Impact | ||
description: How does this impact you? | ||
validations: | ||
required: true | ||
- type: markdown | ||
attributes: | ||
value: | | ||
## Logs | ||
- type: textarea | ||
id: short-logs | ||
attributes: | ||
label: Short logs | ||
description: Provide the most relevant logs (one or two lines) | ||
- type: textarea | ||
id: full-logs | ||
attributes: | ||
label: Full logs | ||
description: Provide the full logs | ||
- type: markdown | ||
attributes: | ||
value: | | ||
## Context | ||
- type: input | ||
id: deployment | ||
attributes: | ||
label: Deployment | ||
description: Where are you deploying? | ||
placeholder: e.g. Azure Container Apps, OpenShift | ||
- type: input | ||
id: version | ||
attributes: | ||
label: Version | ||
description: What version or flavor are you using? | ||
placeholder: e.g. 1.0.0 with Bookworm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Feature request | ||
description: Propose a new feature or enhancement | ||
title: "[Feature]: " | ||
labels: ["enhancement", "triage"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
## Description | ||
- type: textarea | ||
id: feature | ||
attributes: | ||
label: Feature | ||
description: What feature are you proposing? | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: use-case | ||
attributes: | ||
label: Use case | ||
description: How would you use this feature? | ||
validations: | ||
required: true | ||
- type: markdown | ||
attributes: | ||
value: | | ||
## Self-critic | ||
- type: textarea | ||
id: alternatives | ||
attributes: | ||
label: Alternatives | ||
description: What other solutions have you considered? | ||
- type: textarea | ||
id: drawbacks | ||
attributes: | ||
label: Drawbacks | ||
description: What are the drawbacks of your proposal? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,10 +18,8 @@ on: | |
|
||
env: | ||
CONTAINER_NAME: ${{ github.repository }} | ||
CONTAINER_REGISTRY_DOCKER_HUB_URL: https://index.docker.io/v2/ | ||
CONTAINER_REGISTRY_DOCKER_HUB: docker.io | ||
CONTAINER_REGISTRY_GHCR_URL: https://ghcr.io/v2/ | ||
CONTAINER_REGISTRY_GHCR: ghcr.io | ||
CONTAINER_REGISTRY_DOCKER_HUB: docker.io | ||
# https://github.com/sigstore/cosign/releases | ||
COSIGN_VERSION: 2.4.0 | ||
# https://npmjs.com/package/@microsoft/sarif-multitool?activeTab=versions | ||
|
@@ -338,39 +336,19 @@ jobs: | |
with: | ||
cosign-release: v${{ env.COSIGN_VERSION }} | ||
|
||
# Standard login | ||
- name: Login to registry - GitHub | ||
uses: docker/[email protected] | ||
with: | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
registry: ${{ env.CONTAINER_REGISTRY_GHCR }} | ||
username: ${{ github.actor }} | ||
|
||
# Add full URL in the config to allow Cosign to login | ||
# See: https://github.com/sigstore/cosign/issues/587#issuecomment-1003072134 | ||
- name: Login to registry - GitHub (Cosign) | ||
uses: docker/[email protected] | ||
with: | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
registry: ${{ env.CONTAINER_REGISTRY_GHCR_URL }} | ||
username: ${{ github.actor }} | ||
|
||
# Standard login | ||
- name: Login to registry - Docker Hub | ||
uses: docker/[email protected] | ||
with: | ||
password: ${{ secrets.DOCKER_HUB_PAT }} | ||
registry: ${{ env.CONTAINER_REGISTRY_DOCKER_HUB }} | ||
username: clemlesne | ||
|
||
# Add full URL in the config to allow Cosign to login | ||
# See: https://github.com/sigstore/cosign/issues/587#issuecomment-1003072134 | ||
- name: Login to registry - Docker Hub (Cosign) | ||
uses: docker/[email protected] | ||
with: | ||
password: ${{ secrets.DOCKER_HUB_PAT }} | ||
registry: ${{ env.CONTAINER_REGISTRY_DOCKER_HUB_URL }} | ||
username: clemlesne | ||
|
||
- name: Check if pre-release | ||
id: prerelease | ||
|
@@ -527,39 +505,19 @@ jobs: | |
with: | ||
cosign-release: v${{ env.COSIGN_VERSION }} | ||
|
||
# Standard login | ||
- name: Login to registry - GitHub | ||
uses: docker/[email protected] | ||
with: | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
registry: ${{ env.CONTAINER_REGISTRY_GHCR }} | ||
username: ${{ github.actor }} | ||
|
||
# Add full URL in the config to allow Cosign to login | ||
# See: https://github.com/sigstore/cosign/issues/587#issuecomment-1003072134 | ||
- name: Login to registry - GitHub (Cosign) | ||
uses: docker/[email protected] | ||
with: | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
registry: ${{ env.CONTAINER_REGISTRY_GHCR_URL }} | ||
username: ${{ github.actor }} | ||
|
||
# Standard login | ||
- name: Login to registry - Docker Hub | ||
uses: docker/[email protected] | ||
with: | ||
password: ${{ secrets.DOCKER_HUB_PAT }} | ||
registry: ${{ env.CONTAINER_REGISTRY_DOCKER_HUB }} | ||
username: clemlesne | ||
|
||
# Add full URL in the config to allow Cosign to login | ||
# See: https://github.com/sigstore/cosign/issues/587#issuecomment-1003072134 | ||
- name: Login to registry - Docker Hub (Cosign) | ||
uses: docker/[email protected] | ||
with: | ||
password: ${{ secrets.DOCKER_HUB_PAT }} | ||
registry: ${{ env.CONTAINER_REGISTRY_DOCKER_HUB_URL }} | ||
username: clemlesne | ||
|
||
- name: Check if pre-release | ||
id: prerelease | ||
|