From 9db3941601a74693ce2179f16d19952450ebb83a Mon Sep 17 00:00:00 2001 From: Arnaud Mengus <44212923+isontheline@users.noreply.github.com> Date: Wed, 5 Jun 2024 19:56:45 +0000 Subject: [PATCH] Test debug build fail --- .github/workflows/build.yml | 9 +++++++++ Dockerfile | 2 ++ 2 files changed, 11 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1b2dc00c..f1c29fc6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,6 +3,11 @@ on: push jobs: build: runs-on: ubuntu-latest + permissions: + contents: read + packages: write + attestations: write + id-token: write steps: - uses: actions/checkout@v4 with: @@ -46,6 +51,9 @@ jobs: run: | ls -ail backend/ ls -ailR backend/build + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 - name: Log in to the Container registry uses: docker/login-action@v3 @@ -69,6 +77,7 @@ jobs: uses: docker/build-push-action@v5 with: context: . + platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} diff --git a/Dockerfile b/Dockerfile index aefeb323..93d63876 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,6 @@ FROM mcr.microsoft.com/openjdk/jdk:17-ubuntu +LABEL org.opencontainers.image.source="https://github.com/dRAGon-Okinawa/dRAGon" + EXPOSE 1985 EXPOSE 1984