Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

Commit

Permalink
Push image to ghcr.io
Browse files Browse the repository at this point in the history
  • Loading branch information
manno committed Dec 3, 2021
1 parent cfa8a31 commit 5d86b9b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

permissions:
contents: write
packages: write

jobs:
goreleaser:
Expand Down Expand Up @@ -36,7 +37,7 @@ jobs:
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

-
Expand Down
5 changes: 3 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ dockers:
image_templates:
#- "splatform/epinio-installer:{{ .Tag }}"
#- "splatform/epinio-installer:latest"
- "ghcr.io/epinio/epinio-installer:latest"
- "ghcr.io/epinio/epinio-installer:{{ .Tag }}"
- "ghcr.io/epinio/epinio-installer:latest"

# Skips the docker push.
skip_push: "true"
#skip_push: "true"

# Path to the Dockerfile (from the project root).
dockerfile: Dockerfile
Expand All @@ -75,6 +75,7 @@ dockers:
- "--label=org.opencontainers.image.title=epinio-{{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
- "--label=org.opencontainers.image.source=https://github.com/epinio/installer"
- "--build-arg=HELM_VERSION={{.Env.HELM_VERSION}}"
- "--build-arg=HELM_CHECKSUM={{.Env.HELM_CHECKSUM}}"
- "--build-arg=KUBECTL_VERSION={{.Env.KUBECTL_VERSION}}"
Expand Down

0 comments on commit 5d86b9b

Please sign in to comment.