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
|
@ -14,6 +14,12 @@ jobs:
|
||||||
run: git config --global http.sslVerify false
|
run: git config --global http.sslVerify false
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- 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
|
- name: Set up Java
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
|
@ -44,11 +50,13 @@ jobs:
|
||||||
username: ${{ secrets.DOMAIL }}
|
username: ${{ secrets.DOMAIL }}
|
||||||
password: ${{ secrets.DOKEY }}
|
password: ${{ secrets.DOKEY }}
|
||||||
|
|
||||||
- name: Build the Docker image
|
- name: Build and push
|
||||||
run: docker build -t registry.digitalocean.com/jansel/aglaea:latest -t registry.digitalocean.com/jansel/aglaea:${{ steps.date.outputs.date }} .
|
uses: docker/build-push-action@v5
|
||||||
|
with:
|
||||||
- name: Push the Docker image related to this workflow
|
context: .
|
||||||
run: docker push -a registry.digitalocean.com/jansel/aglaea
|
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
|
- name: Remove the Docker image
|
||||||
run: docker rmi registry.digitalocean.com/jansel/aglaea:${{ steps.date.outputs.date }}
|
run: docker rmi registry.digitalocean.com/jansel/aglaea:${{ steps.date.outputs.date }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue