mirror of https://github.com/nealey/vail.git
parent
a90b4c2738
commit
8cf7ae4796
|
@ -35,6 +35,13 @@ jobs:
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
id: buildx
|
id: buildx
|
||||||
|
|
||||||
|
- name: Extract metadata (tags, labels) for Docker
|
||||||
|
id: meta
|
||||||
|
uses: docker/metadata-action@v2
|
||||||
|
with:
|
||||||
|
images: |
|
||||||
|
ghcr.io/${{ github.repository }}
|
||||||
|
|
||||||
- name: Build and push image
|
- name: Build and push image
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
|
@ -42,5 +49,5 @@ jobs:
|
||||||
file: build/Dockerfile
|
file: build/Dockerfile
|
||||||
push: true
|
push: true
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
tags: |
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
ghcr.io/nealey/vail:${{ steps.vars.outputs.tag }}
|
labels: ${{ steps.meta.output.labels }}
|
||||||
|
|
Loading…
Reference in New Issue