Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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