mirror of
https://github.com/aler9/rtsp-simple-server
synced 2025-09-26 19:51:26 +08:00
stop updating legacy Docker image (#4569)
This commit is contained in:
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@@ -137,18 +137,6 @@ jobs:
|
||||
DOCKER_USER: ${{ secrets.DOCKER_USER }}
|
||||
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
dockerhub_legacy:
|
||||
needs: dockerhub
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- run: make dockerhub-legacy
|
||||
env:
|
||||
DOCKER_USER_LEGACY: ${{ secrets.DOCKER_USER_LEGACY }}
|
||||
DOCKER_PASSWORD_LEGACY: ${{ secrets.DOCKER_PASSWORD_LEGACY }}
|
||||
|
||||
api_docs:
|
||||
needs: binaries
|
||||
runs-on: ubuntu-22.04
|
||||
|
1
Makefile
1
Makefile
@@ -19,7 +19,6 @@ help:
|
||||
@echo " apidocs generate api docs HTML"
|
||||
@echo " binaries build binaries for all platforms"
|
||||
@echo " dockerhub build and push images to Docker Hub"
|
||||
@echo " dockerhub-legacy build and push images to Docker Hub (legacy)"
|
||||
@echo ""
|
||||
|
||||
blank :=
|
||||
|
@@ -1,34 +0,0 @@
|
||||
DOCKER_REPOSITORY_LEGACY = aler9/rtsp-simple-server
|
||||
|
||||
dockerhub-legacy:
|
||||
$(eval VERSION := $(shell git describe --tags | tr -d v))
|
||||
|
||||
docker login -u $(DOCKER_USER_LEGACY) -p $(DOCKER_PASSWORD_LEGACY)
|
||||
|
||||
docker run --rm \
|
||||
-v "$(HOME)/.docker:/.docker:ro" \
|
||||
quay.io/skopeo/stable:latest copy --all \
|
||||
--authfile /.docker/config.json \
|
||||
docker://docker.io/$(DOCKER_REPOSITORY):$(VERSION)-rpi \
|
||||
docker://docker.io/$(DOCKER_REPOSITORY_LEGACY):v$(VERSION)-rpi
|
||||
|
||||
docker run --rm \
|
||||
-v "$(HOME)/.docker:/.docker:ro" \
|
||||
quay.io/skopeo/stable:latest copy --all \
|
||||
--authfile /.docker/config.json \
|
||||
docker://docker.io/$(DOCKER_REPOSITORY):latest-rpi \
|
||||
docker://docker.io/$(DOCKER_REPOSITORY_LEGACY):latest-rpi
|
||||
|
||||
docker run --rm \
|
||||
-v "$(HOME)/.docker:/.docker:ro" \
|
||||
quay.io/skopeo/stable:latest copy --all \
|
||||
--authfile /.docker/config.json \
|
||||
docker://docker.io/$(DOCKER_REPOSITORY):$(VERSION) \
|
||||
docker://docker.io/$(DOCKER_REPOSITORY_LEGACY):v$(VERSION)
|
||||
|
||||
docker run --rm \
|
||||
-v "$(HOME)/.docker:/.docker:ro" \
|
||||
quay.io/skopeo/stable:latest copy --all \
|
||||
--authfile /.docker/config.json \
|
||||
docker://docker.io/$(DOCKER_REPOSITORY):latest \
|
||||
docker://docker.io/$(DOCKER_REPOSITORY_LEGACY):latest
|
Reference in New Issue
Block a user