Skip to content

Commit

Permalink
fix: circleci publish
Browse files Browse the repository at this point in the history
  • Loading branch information
bilbeyt committed Dec 22, 2023
1 parent 417fa5d commit 16ef213
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,24 +38,25 @@ jobs:
yarn run compile-contracts
yarn run tests
publish:
environment:
IMAGE_NAME: ghcr.io/shutter-network/keyper-payer
docker:
- image: cimg/base:2023.12
steps:
- checkout
- run: DOCKER_BUILDKIT=1 docker build -t keyper-payer:$(shell git describe --tags) -t keyper-payer:sha-$(shell git rev-parse HEAD) .
- setup_remote_docker
- run: DOCKER_BUILDKIT=1 docker build -t ${IMAGE_NAME}:sha-$(git rev-parse HEAD) .
- run: echo ${GHCR_PAT} | docker login -u bilbeyt --password-stdin ghcr.io
- run: docker push -a keyper-payer
- run: docker push -a ${IMAGE_NAME}

workflows:
app:
jobs:
- lint
- test
- publish:
filters:
branches:
only: main
tags:
only: /.*/
requires:
- lint
- test


0 comments on commit 16ef213

Please sign in to comment.