1
0

maybe I should set the image name right

This commit is contained in:
Jannik Reimers 2025-04-03 17:04:44 +02:00
parent d2daae22e6
commit 0a19579c8d
Signed by: jansel
GPG Key ID: 39C62D7D5233CFD0

View File

@ -39,16 +39,16 @@ jobs:
password: ${{ secrets.DOKEY }} password: ${{ secrets.DOKEY }}
- name: Build the Docker image - 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 - 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 - 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 - 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 - 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