Skip to content

Commit

Permalink
Add docker latest
Browse files Browse the repository at this point in the history
  • Loading branch information
nvtkaszpir committed Apr 30, 2024
1 parent 6d65702 commit 281e54a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,13 @@ quay_multiarch: ## create multi-arch manifest and push it
--amend
docker manifest push --purge quay.io/${QUAY_REPO_USER}/${QUAY_REPO_NAME}:${GIT_COMMIT}

docker manifest create \
quay.io/${QUAY_REPO_USER}/${QUAY_REPO_NAME}:latest \
quay.io/${QUAY_REPO_USER}/${QUAY_REPO_NAME}:${GIT_COMMIT}-amd64 \
quay.io/${QUAY_REPO_USER}/${QUAY_REPO_NAME}:${GIT_COMMIT}-arm64 \
quay.io/${QUAY_REPO_USER}/${QUAY_REPO_NAME}:${GIT_COMMIT}-arm-v7 \
--amend

quay: ## build images and push to quay.io
$(MAKE) quay_amd64 quay_arm64 quay_arm_v7

Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:

# Raspberry Pi CSI camera
prusa-connect-cam-rpi-csi:
image: quay.io/kaszpir/prusa-connect-script:03c4886
image: quay.io/kaszpir/prusa-connect-script
read_only: true
restart: unless-stopped
env_file:
Expand All @@ -21,7 +21,7 @@ services:

# generic camera available as /dev/video0
prusa-connect-cam-usb:
image: quay.io/kaszpir/prusa-connect-script:03c4886-amd64
image: quay.io/kaszpir/prusa-connect-script
read_only: true
restart: unless-stopped
env_file:
Expand All @@ -38,7 +38,7 @@ services:

# esp32 snapshot
prusa-connect-cam-rpi-esp-snapshot:
image: quay.io/kaszpir/prusa-connect-script:03c4886
image: quay.io/kaszpir/prusa-connect-script
read_only: true
restart: unless-stopped
env_file:
Expand Down

0 comments on commit 281e54a

Please sign in to comment.