Skip to content

Commit

Permalink
Fix release
Browse files Browse the repository at this point in the history
Signed-off-by: Mario Trangoni <[email protected]>
  • Loading branch information
mjtrangoni committed Sep 9, 2023
1 parent ead6667 commit 4735b02
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

# ghcr.io build
- run:
name: Build
name: GHCR Build
command: |
if [ -n "$CIRCLE_TAG" ]; then
docker build -t $GHCR_IMAGE_NAME:latest -t $GHCR_IMAGE_NAME:$CIRCLE_TAG .
Expand All @@ -61,7 +61,7 @@ jobs:
# quay.io build
- run:
name: Build
name: Quay Build
command: |
if [ -n "$CIRCLE_TAG" ]; then
docker build -t $QUAY_IMAGE_NAME:latest -t $QUAY_IMAGE_NAME:$CIRCLE_TAG .
Expand All @@ -83,7 +83,12 @@ jobs:
- run:
name: Docker Build
command: make docker
command: |
if [ -n "$CIRCLE_TAG" ]; then
docker build -t $DOCKER_IMAGE_NAME:latest -t $DOCKER_IMAGE_NAME:$CIRCLE_TAG .
else
docker build -t $DOCKER_IMAGE_NAME:$CIRCLE_BRANCH .
fi
- run:
name: Docker Login
command: echo $DOCKER_PASSWORD | docker login docker.io -u $DOCKER_LOGIN --password-stdin
Expand All @@ -108,7 +113,7 @@ jobs:
name: Release binaries
command: |
go install github.com/prometheus/[email protected]
curl -sL https://git.io/goreleaser | bash
curl -sfL https://goreleaser.com/static/run | VERSION=latest DISTRIBUTION=oss bash -s -- check
workflows:
version: 2
Expand Down

0 comments on commit 4735b02

Please sign in to comment.