Skip to content

Commit

Permalink
chore: rollback to makefile for build
Browse files Browse the repository at this point in the history
  • Loading branch information
mlabouardy committed Jan 26, 2023
1 parent b1796ba commit e234d9e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 17 deletions.
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,15 @@ jobs:
chmod +x bin/komiser_windows_amd64.exe bin/komiser_darwin_amd64 bin/komiser_darwin_arm64 bin/komiser_linux_amd64
- run:
name: Push Linux binary
command: aws s3 cp bin/komiser_linux_amd64 s3://komiser-releases/3.0.0/linux/komiser --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers
command: aws s3 cp bin/komiser_linux_amd64 s3://komiser-releases/3.0.1/linux/komiser --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers
- run:
name: Push Windows binary
command: aws s3 cp bin/komiser_windows_amd64.exe s3://komiser-releases/3.0.0/windows/komiser --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers
command: aws s3 cp bin/komiser_windows_amd64.exe s3://komiser-releases/3.0.1/windows/komiser --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers
- run:
name: Push Mac OS X binary
command: |
aws s3 cp bin/komiser_darwin_amd64 s3://komiser-releases/3.0.0/osx/amd/komiser --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers
aws s3 cp bin/komiser_darwin_arm64 s3://komiser-releases/3.0.0/osx/arm/komiser --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers
aws s3 cp bin/komiser_darwin_amd64 s3://komiser-releases/3.0.1/osx/amd/komiser --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers
aws s3 cp bin/komiser_darwin_arm64 s3://komiser-releases/3.0.1/osx/arm/komiser --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers
aws cloudfront create-invalidation --distribution-id ERO8W9KAFNCBV --paths "/*"
build_docker:
Expand All @@ -86,7 +86,7 @@ jobs:
docker context create tls-env
docker buildx create tls-env --use
docker login -u$DOCKERHUB_LOGIN -p$DOCKERHUB_PASSWORD
docker buildx build --push --platform linux/amd64,linux/arm64 -t tailwarden/komiser:latest -t tailwarden/komiser:${CIRCLE_SHA1} -t tailwarden/komiser:3.0.0 .
docker buildx build --push --platform linux/amd64,linux/arm64 -t tailwarden/komiser:latest -t tailwarden/komiser:${CIRCLE_SHA1} -t tailwarden/komiser:3.0.1 .
workflows:
version: 2
Expand Down
11 changes: 0 additions & 11 deletions .goreleaser.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ MAINTAINER mlabouardy <mohamed@tailwarden.com>

RUN echo "Running on $BUILDPLATFORM, building for $TARGETPLATFORM" > /log

ENV VERSION 3.0.0
ENV VERSION 3.0.1

RUN apk update && apk add curl
RUN curl -L https://cli.komiser.io/$VERSION/linux/komiser -o /usr/bin/komiser && \
Expand Down

0 comments on commit e234d9e

Please sign in to comment.