Update to new docker location.

pull/910/head
Fredrik Öhrström 2023-03-06 21:27:41 +01:00
rodzic 960f24d261
commit 688b073d24
2 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -20,7 +20,7 @@ jobs:
id: meta id: meta
uses: docker/metadata-action@v4 uses: docker/metadata-action@v4
with: with:
images: weetmuts/wmbusmeters images: wmbusmeters/wmbusmeters
tags: type=ref,event=tag tags: type=ref,event=tag
- -
name: Set up QEMU name: Set up QEMU
@ -42,7 +42,7 @@ jobs:
context: docker/ context: docker/
platforms: linux/amd64,linux/arm64,linux/armhf platforms: linux/amd64,linux/arm64,linux/armhf
push: true push: true
tags: weetmuts/wmbusmeters:latest tags: wmbusmeters/wmbusmeters:latest
- -
name: Build and push candidate name: Build and push candidate
if: ${{ steps.meta.outputs.tags && contains(steps.meta.outputs.tags, '-RC') }} if: ${{ steps.meta.outputs.tags && contains(steps.meta.outputs.tags, '-RC') }}
@ -51,7 +51,7 @@ jobs:
context: docker/ context: docker/
platforms: linux/amd64,linux/arm64,linux/armhf platforms: linux/amd64,linux/arm64,linux/armhf
push: true push: true
tags: weetmuts/wmbusmeters:candidate-${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }} tags: wmbusmeters/wmbusmeters:candidate-${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
- -
name: Build and push tagged release name: Build and push tagged release
if: ${{ steps.meta.outputs.tags && !contains(steps.meta.outputs.tags, '-RC') }} if: ${{ steps.meta.outputs.tags && !contains(steps.meta.outputs.tags, '-RC') }}
@ -60,4 +60,4 @@ jobs:
context: docker/ context: docker/
platforms: linux/amd64,linux/arm64,linux/armhf platforms: linux/amd64,linux/arm64,linux/armhf
push: true push: true
tags: weetmuts/wmbusmeters:release-${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }} tags: wmbusmeters/wmbusmeters:release-${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}

Wyświetl plik

@ -16,5 +16,5 @@ jobs:
env: env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PAT }} DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PAT }}
DOCKERHUB_REPOSITORY: weetmuts/wmbusmeters DOCKERHUB_REPOSITORY: wmbusmeters/wmbusmeters
README_FILEPATH: ./docker/README.md README_FILEPATH: ./docker/README.md