fix: push versioned devpod tag per build to avoid DOCR tag caching
All checks were successful
Build & Release / build (push) Successful in 18s
All checks were successful
Build & Release / build (push) Successful in 18s
This commit is contained in:
@@ -14,6 +14,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
REGISTRY: registry.digitalocean.com/lunarfront
|
REGISTRY: registry.digitalocean.com/lunarfront
|
||||||
DOCKER_HOST: tcp://localhost:2375
|
DOCKER_HOST: tcp://localhost:2375
|
||||||
|
VERSION: devpod-0.1.${{ github.run_number }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@@ -25,7 +26,9 @@ jobs:
|
|||||||
- name: Build and push devpod
|
- name: Build and push devpod
|
||||||
run: |
|
run: |
|
||||||
docker build \
|
docker build \
|
||||||
|
-t $REGISTRY/manager:$VERSION \
|
||||||
-t $REGISTRY/manager:devpod-latest \
|
-t $REGISTRY/manager:devpod-latest \
|
||||||
-f Dockerfile.devpod .
|
-f Dockerfile.devpod .
|
||||||
|
docker push $REGISTRY/manager:$VERSION
|
||||||
docker push $REGISTRY/manager:devpod-latest
|
docker push $REGISTRY/manager:devpod-latest
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user