Add latest tag, test at neilalexander/dendrite*

This commit is contained in:
Neil Alexander 2021-01-18 10:22:32 +00:00 committed by GitHub
parent 0a080dd2ec
commit 5e95cdcf90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,10 +4,11 @@ name: "Docker Multiarch Build & Push"
on: on:
release: release:
types: [published] # types: [published]
branches: [master]
env: env:
DOCKER_HUB_USER: matrixdotorg DOCKER_HUB_USER: neilalexander
jobs: jobs:
BuildAndPush: BuildAndPush:
@ -50,7 +51,9 @@ jobs:
file: ./build/docker/Dockerfile.monolith file: ./build/docker/Dockerfile.monolith
platforms: linux/amd64,linux/arm64,linux/arm/v7 platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true push: true
tags: ${{ env.DOCKER_HUB_USER }}/dendrite-monolith:${{ env.RELEASE_VERSION }} tags: |
${{ env.DOCKER_HUB_USER }}/dendrite-monolith:latest
${{ env.DOCKER_HUB_USER }}/dendrite-monolith:${{ env.RELEASE_VERSION }}
- -
name: Build polylith image name: Build polylith image
id: docker_build_polylith id: docker_build_polylith
@ -60,7 +63,9 @@ jobs:
file: ./build/docker/Dockerfile.polylith file: ./build/docker/Dockerfile.polylith
platforms: linux/amd64,linux/arm64,linux/arm/v7 platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true push: true
tags: ${{ env.DOCKER_HUB_USER }}/dendrite-polylith:${{ env.RELEASE_VERSION }} tags: |
${{ env.DOCKER_HUB_USER }}/dendrite-polylith:latest
${{ env.DOCKER_HUB_USER }}/dendrite-polylith:${{ env.RELEASE_VERSION }}
- -
name: Image digest name: Image digest
run: | run: |