Removed code that creates "manifest unknown" error.

Meaning that arm + x86 compatibilty is now removed (happy for somebody to look into dev.yml + main.yml and propose a fix)
This commit is contained in:
Benjamin Harder
2024-02-19 01:08:24 +01:00
parent 7ba1591286
commit c515abdc6e
2 changed files with 39 additions and 10 deletions

View File

@@ -35,11 +35,11 @@ jobs:
- name: 'Checkout GitHub Action'
uses: actions/checkout@main
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v1
- name: 'Login to GitHub Container Registry'
uses: docker/login-action@v1
@@ -67,6 +67,21 @@ jobs:
--build-arg SHORT_COMMIT_ID=$SHORT_COMMIT_ID \
-f docker/Dockerfile \
--push .
# - name: "Build, Tag, and push the Docker image"
# env:
# IMAGE_NAME: ghcr.io/manimatter/decluttarr
# IMAGE_TAG: dev
# run: |
# docker buildx build \ <<<<<<<<<<<<<<<<<<<<< creates manifest issues... don't know how to solve that
# --platform linux/amd64,linux/arm64 \ <<<<<<<<<<<<<<<<<<<<< creates manifest issues... don't know how to solve that
# -t $IMAGE_NAME:$IMAGE_TAG \
# --label com.decluttarr.version=$IMAGE_TAG \
# --label com.decluttarr.commit=$SHORT_COMMIT_ID \
# --build-arg IMAGE_TAG=$IMAGE_TAG \
# --build-arg SHORT_COMMIT_ID=$SHORT_COMMIT_ID \
# -f docker/Dockerfile \
# --push .
- name: "Delete untagged versions"
uses: actions/delete-package-versions@v4

View File

@@ -18,11 +18,11 @@ jobs:
- name: 'Checkout GitHub Action'
uses: actions/checkout@main
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v1
- name: 'Login to GitHub Container Registry'
uses: docker/login-action@v1
@@ -53,8 +53,7 @@ jobs:
IMAGE_NAME: ghcr.io/manimatter/decluttarr
IMAGE_TAG: ${{ steps.setversion.outputs.new_tag }}
run: |
docker buildx build \
--platform linux/amd64,linux/arm64 \
docker build \
-t $IMAGE_NAME:$IMAGE_TAG \
-t $IMAGE_NAME:latest \
--label com.decluttarr.version=$IMAGE_TAG \
@@ -64,3 +63,18 @@ jobs:
-f docker/Dockerfile \
--push .
# - name: "Build, Tag, and push the Docker image"
# env:
# IMAGE_NAME: ghcr.io/manimatter/decluttarr
# IMAGE_TAG: ${{ steps.setversion.outputs.new_tag }}
# run: |
# docker buildx build \ <<<<<<<<<<<<<<<<<<<<< creates manifest issues... don't know how to solve that
# --platform linux/amd64,linux/arm64 \ <<<<<<<<<<<<<<<<<<<<< creates manifest issues... don't know how to solve that
# -t $IMAGE_NAME:$IMAGE_TAG \
# -t $IMAGE_NAME:latest \
# --label com.decluttarr.version=$IMAGE_TAG \
# --label com.decluttarr.commit=$SHORT_COMMIT_ID \
# --build-arg IMAGE_TAG=$IMAGE_TAG \
# --build-arg SHORT_COMMIT_ID=$SHORT_COMMIT_ID \
# -f docker/Dockerfile \
# --push .