mirror of https://github.com/nealey/vail.git
parent
a90b4c2738
commit
8cf7ae4796
|
@ -35,6 +35,13 @@ jobs:
|
|||
uses: docker/setup-buildx-action@v1
|
||||
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
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
|
@ -42,5 +49,5 @@ jobs:
|
|||
file: build/Dockerfile
|
||||
push: true
|
||||
platforms: linux/amd64
|
||||
tags: |
|
||||
ghcr.io/nealey/vail:${{ steps.vars.outputs.tag }}
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.output.labels }}
|
||||
|
|
Loading…
Reference in New Issue