From 37c02b64cf2c374d1abdc84669f243d869a5ae9a Mon Sep 17 00:00:00 2001 From: Karl Ludwig Weise Date: Thu, 30 Apr 2026 10:43:48 +0200 Subject: [PATCH] Use recommended build and push approach to solve no such docker image issue --- .github/workflows/release.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eb74d35..5050ebb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -68,15 +68,14 @@ jobs: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - - name: Build Docker image - run: docker buildx build --platform linux/amd64,linux/arm64 -t - openreception/open-reception:${{ github.ref_name }} . - env: - DATABASE_URL: "postgresql://test:test@localhost:5432/test" - JWT_SECRET: "build" - - - name: Push Docker images - run: npm run docker:build-and-push + - name: Build and push + uses: docker/build-push-action@v6 + with: + push: true + platforms: linux/amd64,linux/arm64 + tags: | + openreception/open-reception:latest + openreception/open-reception:${{ github.ref_name }} - name: Commit and push version update run: |