From 1fd1b48ccb0bb3fd502fa4539955b10a60a2c283 Mon Sep 17 00:00:00 2001 From: Naramsim Date: Sun, 2 Jun 2024 12:02:07 +0200 Subject: [PATCH] chore: split in two the workflow --- .github/workflows/docker-k8s.yml | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-k8s.yml b/.github/workflows/docker-k8s.yml index 1a13d73e..12ffe194 100644 --- a/.github/workflows/docker-k8s.yml +++ b/.github/workflows/docker-k8s.yml @@ -29,7 +29,37 @@ jobs: file: ./Resources/docker/app/Dockerfile push: false load: true - platforms: local,linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 + platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 + tags: pokeapi/pokeapi:local + labels: ${{ steps.meta.outputs.labels }} + - name: Image digest + run: echo ${{ steps.docker_build.outputs.digest }} + k8s: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + submodules: recursive + - name: Docker meta + id: meta + uses: docker/metadata-action@v5 + with: + images: pokeapi/pokeapi + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx + id: buildx + uses: docker/setup-buildx-action@v3 + - name: Build + id: docker_build + uses: docker/build-push-action@v5 + with: + context: . + file: ./Resources/docker/app/Dockerfile + push: false + load: true + platforms: local tags: pokeapi/pokeapi:local labels: ${{ steps.meta.outputs.labels }} - name: Image digest