This commit is contained in:
Benjamin Harder
2024-03-29 19:05:26 +01:00
parent 61d7b85324
commit e3d44c0dda

View File

@@ -13,9 +13,15 @@ on:
jobs:
build-main:
runs-on: ubuntu-latest
defaults:
run:
working-directory: '.'
env:
IMAGE_NAME: ghcr.io/manimatter/decluttarr
IMAGE_TAG: maintestX
steps:
- name: 'Checkout GitHub Action'
uses: actions/checkout@main
@@ -40,9 +46,6 @@ jobs:
echo "SHORT_COMMIT_ID=$calculatedSha" >> $GITHUB_ENV
- name: "Build, Tag, and push the Docker image"
env:
IMAGE_NAME: ghcr.io/manimatter/decluttarr
IMAGE_TAG: maintestX
run: |
docker buildx build \
--platform linux/amd64,linux/arm64 \
@@ -75,4 +78,4 @@ jobs:
# Add label for unknown architectures
if [ ! -z "$manifest_digest_unknown" ]; then
docker manifest annotate "$IMAGE_NAME:$IMAGE_TAG" "$IMAGE_NAME:$IMAGE_TAG-unknown" --os=linux --arch=unknown "$manifest_digest_unknown" || true
fi
fi