maybe this works
This commit is contained in:
parent
db978a1d71
commit
177cab1882
1 changed files with 13 additions and 5 deletions
18
.github/workflows/root.yml
vendored
18
.github/workflows/root.yml
vendored
|
@ -15,6 +15,12 @@ jobs:
|
|||
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Set up Java
|
||||
uses: actions/setup-java@v4
|
||||
|
||||
|
@ -44,11 +50,13 @@ jobs:
|
|||
username: ${{ secrets.DOMAIL }}
|
||||
password: ${{ secrets.DOKEY }}
|
||||
|
||||
- name: Build the Docker image
|
||||
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 -a registry.digitalocean.com/jansel/aglaea
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
tags: registry.digitalocean.com/jansel/aglaea:latest,registry.digitalocean.com/jansel/aglaea:${{ steps.date.outputs.date }}
|
||||
|
||||
- name: Remove the Docker image
|
||||
run: docker rmi registry.digitalocean.com/jansel/aglaea:${{ steps.date.outputs.date }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue