testing with specific arch tags

This commit is contained in:
buanet
2023-04-12 09:12:53 +02:00
parent 1b1249eb46
commit e332bc0e41

View File

@@ -52,25 +52,25 @@ jobs:
username: ${{ secrets.PACKAGES_USER }} username: ${{ secrets.PACKAGES_USER }}
password: ${{ secrets.PACKAGES_PASS }} password: ${{ secrets.PACKAGES_PASS }}
- name: Extract metadata (tags, labels) # - name: Extract metadata (tags, labels)
id: metadata # id: metadata
uses: docker/metadata-action@v4.3.0 # uses: docker/metadata-action@v4.3.0
with: # with:
images: | # images: |
buanet/iobroker # buanet/iobroker
ghcr.io/buanet/iobroker # ghcr.io/buanet/iobroker
tags: | # tags: |
type=raw,value=dev # type=raw,value=dev
labels: | # labels: |
org.opencontainers.image.title=Official ioBroker Docker Image # org.opencontainers.image.title=Official ioBroker Docker Image
org.opencontainers.image.description=Officical Docker image for ioBroker smarthome software (https://www.iobroker.net) # org.opencontainers.image.description=Officical Docker image for ioBroker smarthome software (https://www.iobroker.net)
org.opencontainers.image.documentation=https://github.com/buanet/ioBroker.docker#readme # org.opencontainers.image.documentation=https://github.com/buanet/ioBroker.docker#readme
org.opencontainers.image.authors=André Germann <info@buanet.de> # org.opencontainers.image.authors=André Germann <info@buanet.de>
org.opencontainers.image.url=https://github.com/buanet/ioBroker.docker # org.opencontainers.image.url=https://github.com/buanet/ioBroker.docker
org.opencontainers.image.source=https://github.com/buanet/ioBroker.docker # org.opencontainers.image.source=https://github.com/buanet/ioBroker.docker
org.opencontainers.image.base.name=docker.io/library/debian:bullseye-slim # org.opencontainers.image.base.name=docker.io/library/debian:bullseye-slim
org.opencontainers.image.version=${{ env.VERSION }} # org.opencontainers.image.version=${{ env.VERSION }}
org.opencontainers.image.created=${{ env.DATI }} # org.opencontainers.image.created=${{ env.DATI }}
- name: Build and push Docker image - name: Build and push Docker image
uses: docker/build-push-action@v4.0.0 uses: docker/build-push-action@v4.0.0
@@ -79,11 +79,17 @@ jobs:
file: ./debian/node18/Dockerfile file: ./debian/node18/Dockerfile
push: true push: true
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8 platforms: linux/amd64,linux/arm/v7,linux/arm64/v8
tags: ${{ steps.metadata.outputs.tags }} # tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }} # labels: ${{ steps.metadata.outputs.labels }}
# tags: | tags: |
# buanet/iobroker:dev, buanet/iobroker:dev,
# ghcr.io/buanet/iobroker:dev buanet/iobroker:dev-amd64,
buanet/iobroker:dev-armv7,
buanet/iobroker:dev-arm64v8,
ghcr.io/buanet/iobroker:dev,
ghcr.io/buanet/iobroker:dev-amd64,
ghcr.io/buanet/iobroker:dev-armv7,
ghcr.io/buanet/iobroker:dev-arm64v8
provenance: false provenance: false
outputs: type=image,name=target,annotation-index.org.opencontainers.image.description=Officical Docker image for ioBroker smarthome software (https://www.iobroker.net) outputs: type=image,name=target,annotation-index.org.opencontainers.image.description=Officical Docker image for ioBroker smarthome software (https://www.iobroker.net)