prepare beta

This commit is contained in:
buanet
2023-04-14 20:08:15 +02:00
parent d126eb190b
commit 874b6d8af0
3 changed files with 13 additions and 26 deletions

View File

@@ -64,12 +64,20 @@ jobs:
context: ./debian
file: ./debian/node18/Dockerfile
push: true
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8
platforms: |
linux/amd64
linux/arm/v7
linux/arm64/v8
tags: |
buanet/iobroker:beta,
buanet/iobroker:${{ env.version }},
ghcr.io/buanet/iobroker:beta,
ghcr.io/buanet/iobroker:${{ env.version }}
provenance: false
outputs: type=image,name=target,annotation-index.org.opencontainers.image.description=Official Docker image for ioBroker smarthome software (https://www.iobroker.net)
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Delete untagged images from GitHub packages
uses: actions/github-script@v6

View File

@@ -52,26 +52,6 @@ jobs:
username: ${{ secrets.PACKAGES_USER }}
password: ${{ secrets.PACKAGES_PASS }}
- name: Extract metadata (tags, labels)
id: metadata
uses: docker/metadata-action@v4.3.0
with:
images: |
buanet/iobroker
ghcr.io/buanet/iobroker
tags: |
type=raw,value=dev
labels: |
org.opencontainers.image.title=Official ioBroker Docker Image
org.opencontainers.image.description=Official Docker image for ioBroker smarthome software (https://www.iobroker.net)
org.opencontainers.image.documentation=https://github.com/buanet/ioBroker.docker#readme
org.opencontainers.image.authors=André Germann <info@buanet.de>
org.opencontainers.image.url=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.version=${{ env.VERSION }}
org.opencontainers.image.created=${{ env.DATI }}
- name: Build and push Docker image
uses: docker/build-push-action@v4.0.0
with:
@@ -82,11 +62,9 @@ jobs:
linux/amd64
linux/arm/v7
linux/arm64/v8
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}
# tags: |
# buanet/iobroker:dev,
# ghcr.io/buanet/iobroker:dev
tags: |
buanet/iobroker:dev,
ghcr.io/buanet/iobroker:dev
provenance: false
outputs: type=image,name=target,annotation-index.org.opencontainers.image.description=Official Docker image for ioBroker smarthome software (https://www.iobroker.net)
cache-from: type=gha