Update docker.yml

This commit is contained in:
Ishaan Jaff 2023-12-02 15:48:15 -08:00 committed by GitHub
parent 89e08e8288
commit 00481ef67e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,6 +4,9 @@ on:
inputs:
tag:
description: "The tag version you want to build"
permissions:
contents: read
packages: write
jobs:
build:
runs-on: ubuntu-latest
@ -48,7 +51,9 @@ jobs:
uses: docker/build-push-action@v2
with:
push: true
tags: ghcr.io/${{ env.REPO }}:${{ github.sha }}
tags: |
${{ steps.tag.outputs.latest }}
${{ steps.tag.outputs.versioned }}
file: ./Dockerfile`
- name: Build and release Docker images
uses: docker/build-push-action@v5