Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update name of private repository on quay.io #3703

Merged
merged 1 commit into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ jobs:
VERSION=$(python3 -m tcms)

make docker-image
docker tag kiwitcms/kiwi:latest quay.io/kiwitcms/version:$VERSION-$(uname -m)
docker tag kiwitcms/kiwi:latest quay.io/kiwitcms/upstream:$VERSION-$(uname -m)

echo "+++++ Docker images +++++"
docker images

echo "$QUAY_PUSH_TOKEN" | docker login -u="$QUAY_PUSH_USERNAME" --password-stdin quay.io
docker push quay.io/kiwitcms/version:$VERSION-$(uname -m)
docker push quay.io/kiwitcms/upstream:$VERSION-$(uname -m)
docker logout quay.io


Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
VERSION=$(python -m tcms)

make docker-image
docker tag kiwitcms/kiwi:latest quay.io/kiwitcms/version:$VERSION-$(uname -m)
docker tag kiwitcms/kiwi:latest quay.io/kiwitcms/upstream:$VERSION-$(uname -m)

echo "+++++ Docker images +++++"
docker images
Expand All @@ -36,6 +36,5 @@ jobs:
docker logout

echo "${{ secrets.QUAY_PUSH_TOKEN }}" | docker login -u="${{ secrets.QUAY_PUSH_USERNAME }}" --password-stdin quay.io
docker push quay.io/kiwitcms/kiwi:latest
docker push quay.io/kiwitcms/version:$VERSION-$(uname -m)
docker push quay.io/kiwitcms/upstream:$VERSION-$(uname -m)
docker logout quay.io
9 changes: 4 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -101,16 +101,15 @@ docker-image:
-v `pwd`:/host --entrypoint /bin/cp kiwitcms/buildroot \
-r /venv /host/dist/
docker build -t kiwitcms/kiwi:latest .
docker tag kiwitcms/kiwi:latest quay.io/kiwitcms/kiwi:latest


.PHONY: docker-manifest
docker-manifest:
docker manifest create \
quay.io/kiwitcms/version:$(VERSION) \
quay.io/kiwitcms/version:$(VERSION)-x86_64 \
quay.io/kiwitcms/version:$(VERSION)-aarch64
docker manifest push quay.io/kiwitcms/version:$(VERSION)
quay.io/kiwitcms/upstream:$(VERSION) \
quay.io/kiwitcms/upstream:$(VERSION)-x86_64 \
quay.io/kiwitcms/upstream:$(VERSION)-aarch64
docker manifest push quay.io/kiwitcms/upstream:$(VERSION)


.PHONY: test-docker-image
Expand Down
Loading