maybe I should set the image name right
This commit is contained in:
parent
d2daae22e6
commit
0a19579c8d
10
.github/workflows/root.yml
vendored
10
.github/workflows/root.yml
vendored
@ -39,16 +39,16 @@ jobs:
|
||||
password: ${{ secrets.DOKEY }}
|
||||
|
||||
- name: Build the Docker image
|
||||
run: docker build -t registry.digitalocean.com/jansel/feixiao:latest -t registry.digitalocean.com/jansel/feixiao:${{ steps.date.outputs.date }} .
|
||||
run: docker build -t registry.digitalocean.com/jansel/aglaea:latest -t registry.digitalocean.com/jansel/aglaea:${{ steps.date.outputs.date }} .
|
||||
|
||||
- name: Push the Docker image related to this workflow
|
||||
run: docker push registry.digitalocean.com/jansel/feixiao:${{ steps.date.outputs.date }}
|
||||
run: docker push registry.digitalocean.com/jansel/aglaea:${{ steps.date.outputs.date }}
|
||||
|
||||
- name: Push the latest Docker image
|
||||
run: docker push registry.digitalocean.com/jansel/feixiao:latest
|
||||
run: docker push registry.digitalocean.com/jansel/aglaea:latest
|
||||
|
||||
- name: Remove the Docker image
|
||||
run: docker rmi registry.digitalocean.com/jansel/feixiao:${{ steps.date.outputs.date }}
|
||||
run: docker rmi registry.digitalocean.com/jansel/aglaea:${{ steps.date.outputs.date }}
|
||||
|
||||
- name: Force remove the latest Docker image
|
||||
run: docker rmi registry.digitalocean.com/jansel/feixiao:latest --force
|
||||
run: docker rmi registry.digitalocean.com/jansel/aglaea:latest --force
|
||||
|
Loading…
x
Reference in New Issue
Block a user