refactor
All checks were successful
Publish / build_and_publish_docker_image (push) Successful in 2m30s
All checks were successful
Publish / build_and_publish_docker_image (push) Successful in 2m30s
This commit is contained in:
parent
d3f886dedf
commit
513b25b049
@ -21,13 +21,8 @@ jobs:
|
||||
username: ${{ vars.DOCKER_USERNAME }}
|
||||
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
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
push: true
|
||||
tags: git.marinodev.com/drake/$PACKAGE_NAME:latest
|
||||
tags: git.marinodev.com/drake/moni-live-yolk-${{ github.ref_name }}:latest
|
||||
|
||||
Loading…
Reference in New Issue
Block a user