Skip to content

Commit

Permalink
Revert "Revert "add ghcr publish (#1671)" (#1676)" (#1677)
Browse files Browse the repository at this point in the history
This reverts commit c19c0e2.
  • Loading branch information
pkishino authored Jan 20, 2021
1 parent c19c0e2 commit afdf1ac
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ jobs:
- run:
name: Login to Docker Hub
command: echo $DOCKER_PASS | docker login -u $DOCKER_USER --password-stdin
- run:
name: Login to GitHub Container Registry
command: echo $GITHUB_PASS | docker login ghcr.io -u $DOCKER_USER --password-stdin
- calculate-tag-name
- run:
name: Set up buildx and build/push images
Expand All @@ -47,7 +50,10 @@ jobs:
docker buildx use mybuilder
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
docker buildx ls
docker buildx build -t haugene/transmission-openvpn:$IMAGE_TAG --progress plain \
docker buildx build \
-t haugene/transmission-openvpn:$IMAGE_TAG \
-t ghcr.io/haugene/transmission-openvpn:$IMAGE_TAG \
--progress plain \
--platform linux/arm,linux/arm64,linux/amd64 \
--build-arg REVISION=$CIRCLE_SHA1 \
--push .
Expand Down

0 comments on commit afdf1ac

Please sign in to comment.