Skip to content

Commit

Permalink
fix: hard code registry and image name
Browse files Browse the repository at this point in the history
  • Loading branch information
pmpaulino committed Jul 19, 2023
1 parent 5727788 commit a8b7701
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ jobs:
permissions:
contents: write
packages: write
env:
REGISTRY: ghcr.io
IMAGE_NAME: liatrio/liatrio-otel-collector
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -51,5 +48,3 @@ jobs:
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REGISTRY: ${{ env.REGISTRY }}
IMAGE_NAME: ${{ env.IMAGE_NAME }}
12 changes: 6 additions & 6 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ dockers:
- goos: linux
goarch: '386'
image_templates:
- '{{ .Env.REGISTRY }}/{{ .Env.IMAGE_NAME }}:{{ .Version }}-386'
- '{{ .Env.REGISTRY }}/{{ .Env.IMAGE_NAME }}:latest-386'
- ghcr.io/liatrio/liatrio-otel-collector:{{ .Version }}-386
- ghcr.io/liatrio/liatrio-otel-collector:latest-386
extra_files:
- config/config.yaml
use: buildx
Expand All @@ -37,8 +37,8 @@ dockers:
- goos: linux
goarch: amd64
image_templates:
- '{{ .Env.REGISTRY }}/{{ .Env.IMAGE_NAME }}:{{ .Version }}-amd64'
- '{{ .Env.REGISTRY }}/{{ .Env.IMAGE_NAME }}:latest-amd64'
- ghcr.io/liatrio/liatrio-otel-collector:{{ .Version }}-amd64
- ghcr.io/liatrio/liatrio-otel-collector:latest-amd64
extra_files:
- config/config.yaml
use: buildx
Expand All @@ -53,8 +53,8 @@ dockers:
- goos: linux
goarch: arm64
image_templates:
- '{{ .Env.REGISTRY }}/{{ .Env.IMAGE_NAME }}:{{ .Version }}-arm64'
- '{{ .Env.REGISTRY }}/{{ .Env.IMAGE_NAME }}:latest-arm64'
- ghcr.io/liatrio/liatrio-otel-collector:{{ .Version }}-arm64
- ghcr.io/liatrio/liatrio-otel-collector:latest-arm64
extra_files:
- config/config.yaml
use: buildx
Expand Down

0 comments on commit a8b7701

Please sign in to comment.