Skip to content

Commit

Permalink
publish latest file via aws s3
Browse files Browse the repository at this point in the history
  • Loading branch information
jmorganca committed Oct 7, 2021
1 parent 08e96fa commit 3b291dd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ jobs:
go get
make tools
- run: |
echo $GITHUB_REF | cut -d/ -f3- | tee latest
make release
echo $GITHUB_REF | cut -d/ -f3- | tee latest
aws s3 cp latest s3://releases.infrahq.com/infra/latest
env:
GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}
GEMFURY_TOKEN: ${{ secrets.GORELEASER_GEMFURY_TOKEN }}
Expand Down
6 changes: 0 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,6 @@ blobs:
ids:
- zip
- packages
- provider: s3
region: us-east-2
bucket: releases.infrahq.com
folder: "{{ .ProjectName }}"
extra_files:
- glob: latest
brews:
- tap:
owner: infrahq
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ dev/clean:
helm uninstall --namespace infrahq infra-engine || true

release: goreleaser
goreleaser release -f .goreleaser.yml --rm-dist --skip-validate
goreleaser release -f .goreleaser.yml --rm-dist

release/docker:
docker buildx build --push --platform linux/amd64,linux/arm64 --build-arg BUILDVERSION=$(tag:v%=%) . -t infrahq/infra:$(tag:v%=%) -t infrahq/infra
Expand Down

0 comments on commit 3b291dd

Please sign in to comment.