Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
clemlesne committed Sep 2, 2024
2 parents 6815836 + e20bd6f commit cd0fea9
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 43 deletions.
53 changes: 53 additions & 0 deletions .github/ISSUE_TEMPLATE/1-bug-report.yml
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
37 changes: 37 additions & 0 deletions .github/ISSUE_TEMPLATE/2-feature-request.yml
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?
44 changes: 1 addition & 43 deletions .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit cd0fea9

Please sign in to comment.