add latest tag
This commit is contained in:
parent
91ed1ab0bc
commit
069c5544e9
|
@ -44,6 +44,9 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
name: Load Ubuntu Image
|
name: Load Ubuntu Image
|
||||||
command: docker load --input /tmp/workspace/postal_ubuntu.tar
|
command: docker load --input /tmp/workspace/postal_ubuntu.tar
|
||||||
|
- run:
|
||||||
|
name: Tag alpine image as latest
|
||||||
|
command: docker tag catdeployed/postal:alpine catdeployed/postal:latest
|
||||||
- run:
|
- run:
|
||||||
name: Login to Docker Hub
|
name: Login to Docker Hub
|
||||||
command: docker login -u $DOCKER_USER -p $DOCKER_PASS
|
command: docker login -u $DOCKER_USER -p $DOCKER_PASS
|
||||||
|
@ -51,8 +54,11 @@ jobs:
|
||||||
name: Push Ubuntu Container to Docker Hub
|
name: Push Ubuntu Container to Docker Hub
|
||||||
command: docker push catdeployed/postal:ubuntu
|
command: docker push catdeployed/postal:ubuntu
|
||||||
- run:
|
- run:
|
||||||
name: Push Postal Container to Docker Hub
|
name: Push Alpine Container to Docker Hub
|
||||||
command: docker push catdeployed/postal:alpine
|
command: docker push catdeployed/postal:alpine
|
||||||
|
- run:
|
||||||
|
name: Push Latest Container to Docker Hub
|
||||||
|
command: docker push catdeployed/postal:latest
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
nightly:
|
nightly:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user