dd
This commit is contained in:
parent
2639e92850
commit
bca009d4bb
1 changed files with 2 additions and 1 deletions
|
@ -21,13 +21,14 @@ jobs:
|
|||
id: meta
|
||||
run: |
|
||||
echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITHUB_OUTPUT
|
||||
REPO_BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
||||
- name: Build and push Docker image
|
||||
uses: https://github.com/docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
push: true
|
||||
tags: "registry.mgrote.net/${{ steps.meta.outputs.REPO_NAME }}:latest"
|
||||
tags: "registry.mgrote.net/${{ steps.meta.outputs.REPO_NAME }}:latest,registry.mgrote.net/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_BRANCH }}"
|
||||
|
||||
|
||||
# depends on lint
|
||||
|
|
Loading…
Reference in a new issue