adjusted order of steps
Some checks failed
Build
Deploy

This commit is contained in:
Xeovalyte 2023-04-03 09:29:37 +02:00
parent 58a1236c71
commit 5382c4394b

View File

@ -17,18 +17,16 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- run: apt update
- run: curl -fsSL https://get.docker.com -o get-docker.sh
- run: sh ./get-docker.sh --dry-run
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
with:
platforms: linux/amd64,linux/arm/v8
- uses: docker/login-action@v2 - uses: docker/login-action@v2
with: with:
registry: gitea.xeovalyte.dev registry: gitea.xeovalyte.dev
username: ${{ secrets.USERNAME }} username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }} password: ${{ secrets.PASSWORD }}
- uses: docker/setup-buildx-action@v2
with:
platforms: linux/amd64,linux/arm/v8
- uses: docker/build-push-action@v4 - uses: docker/build-push-action@v4
with: with:
context: . context: .