branch support
Some checks failed
Publish / build_and_publish_docker_image (push) Has been cancelled
Some checks failed
Publish / build_and_publish_docker_image (push) Has been cancelled
This commit is contained in:
parent
bdf0cf8ec3
commit
c09d053af8
@ -24,8 +24,13 @@ jobs:
|
|||||||
username: ${{ vars.DOCKER_USERNAME }}
|
username: ${{ vars.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
|
- name: Set package name
|
||||||
|
run: |
|
||||||
|
BRANCH=${GITHUB_REF##*/}
|
||||||
|
echo "PACKAGE_NAME=moni-live-yolk-$BRANCH" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Build and Push Docker Image
|
- name: Build and Push Docker Image
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags: git.marinodev.com/drake/java-21-dev-yolk:latest
|
tags: git.marinodev.com/drake/${{PACKAGE_NAME}}:latest
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user