More CI/CD work

I'm getting tired of github
This commit is contained in:
Neale Pickett 2022-03-31 14:20:24 -06:00
parent a90b4c2738
commit 8cf7ae4796
1 changed files with 9 additions and 2 deletions

View File

@ -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 }}