Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Publish Images to Quay.io #88

Merged
merged 3 commits into from
Jan 19, 2021
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/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ jobs:
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Login to Quay.io
uses: docker/#-action@v1
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
Expand Down
19 changes: 11 additions & 8 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ dockers:
- "viaductoss/{{ .ProjectName }}:latest"
- "viaductoss/{{ .ProjectName }}:{{ .Tag }}"
- "viaductoss/{{ .ProjectName }}:v{{ .Major }}"
- "quay.io/viaductoss/{{ .ProjectName }}:latest"
- "quay.io/viaductoss/{{ .ProjectName }}:{{ .Tag }}"
- "quay.io/viaductoss/{{ .ProjectName }}:v{{ .Major }}"

# Template of the docker build flags.
build_flag_templates:
Expand All @@ -74,11 +77,11 @@ dockers:
# This field does not support wildcards, you can add an entire folder here
# and use wildcards when you `COPY`/`ADD` in your Dockerfile.
extra_files:
- go.mod
- go.sum
- Makefile
- scripts/
- exec_plugin.go
- ksops.go
# include .git for version
- .git/
- go.mod
- go.sum
- Makefile
- scripts/
- exec_plugin.go
- ksops.go
# include .git for version
- .git/
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,8 @@ make test

[KSOPS Docker Image](https://hub.docker.com/r/viaductoss/ksops)

[KSOPS Quay.io Image](https://quay.io/repository/viaductoss/ksops)

### Enable Kustomize Plugins via Argo CD ConfigMap
As of now to allow [Argo CD](https://github.com/argoproj/argo-cd/) to use [kustomize](https://github.com/kubernetes-sigs/kustomize/) plugins you must use the `enable_alpha_plugins` flag. This is configured by the `kustomize.buildOptions` setting in the [Argo CD](https://github.com/argoproj/argo-cd/) ConfigMap

Expand Down