From 5ebf0e2d133938d1fb0e26663ed6c45f43437d62 Mon Sep 17 00:00:00 2001 From: Kokomo123 Date: Sat, 24 Aug 2024 20:04:29 -0400 Subject: [PATCH] Changes and switching stuff around --- .github/workflows/main.yml | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 854f1ea0..b1c6a419 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -59,16 +59,6 @@ jobs: uses: docker/setup-qemu-action@master with: platforms: all - - - name: Testing metadata extraction - id: meta - uses: docker/metadata-action@master - with: - images: kokomo123/5etools-img - tags: | - add-arm64-building - type=edge - type=sha - name: Set up Docker Buildx id: buildx @@ -83,16 +73,17 @@ jobs: context: . builder: ${{ steps.buildx.outputs.name }} platforms: linux/arm64,linux/amd64 - push: false + push: true + tags: kokomo123/5etools-img:latest - name: Push image run: | echo IMAGE_ID=$IMAGE_ID echo IMAGE_VERSION=$IMAGE_VERSION docker tag $IMAGE_ID $IMAGE_ID:$IMAGE_VERSION - [[ "${{ github.ref }}" == "refs/tags/"* ]] && docker tag $IMAGE_NAME $IMAGE_ID:add-arm64-building + [[ "${{ github.ref }}" == "refs/tags/"* ]] && docker tag $IMAGE_NAME $IMAGE_ID:latest docker push $IMAGE_ID:$IMAGE_VERSION - docker push $IMAGE_ID:add-arm64-building + docker push $IMAGE_ID:latest