Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ jobs:
- name: Install Syft
uses: anchore/sbom-action/[email protected]

- name: Login to docker.io registry
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to ghcr.io registry
uses: docker/login-action@v3
with:
Expand Down
17 changes: 17 additions & 0 deletions goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ dockers:
- image_templates:
- "ghcr.io/method-security/gitlabctl:{{ .Version }}-amd64"
- "ghcr.io/method-security/gitlabctl:latest-amd64"
- "docker.io/methodsecurity/gitlabctl:{{ .Version }}-amd64"
- "docker.io/methodsecurity/gitlabctl:latest-amd64"
use: buildx
goos: linux
goarch: amd64
Expand All @@ -95,6 +97,8 @@ dockers:
- image_templates:
- "ghcr.io/method-security/gitlabctl:{{ .Version }}-arm64"
- "ghcr.io/method-security/gitlabctl:latest-arm64"
- "docker.io/methodsecurity/gitlabctl:{{ .Version }}-arm64"
- "docker.io/methodsecurity/gitlabctl:latest-arm64"
use: buildx
goos: linux
goarch: arm64
Expand All @@ -117,6 +121,19 @@ docker_manifests:
image_templates:
- 'ghcr.io/method-security/gitlabctl:{{ .Version }}-amd64'
- 'ghcr.io/method-security/gitlabctl:{{ .Version }}-arm64'
- name_template: 'ghcr.io/method-security/gitlabctl:latest'
image_templates:
- 'ghcr.io/method-security/gitlabctl:{{ .Version }}-amd64'
- 'ghcr.io/method-security/gitlabctl:{{ .Version }}-arm64'
- name_template: 'methodsecurity/gitlabctl:{{ .Version }}'
image_templates:
- 'docker.io/methodsecurity/gitlabctl:{{ .Version }}-amd64'
- 'docker.io/methodsecurity/gitlabctl:{{ .Version }}-amd64'
- name_template: 'methodsecurity/gitlabctl:latest'
image_templates:
- 'docker.io/methodsecurity/gitlabctl:{{ .Version }}-amd64'
- 'docker.io/methodsecurity/gitlabctl:{{ .Version }}-amd64'


source:
enabled: true
Expand Down