fix capitilization
All checks were successful
Build and Push Docker Image / build (push) Successful in 9s
All checks were successful
Build and Push Docker Image / build (push) Successful in 9s
This commit is contained in:
@@ -23,18 +23,18 @@ jobs:
|
||||
SHORT_HASH: ${{ github.sha }}
|
||||
run: |
|
||||
# Build the image with the commit hash tag
|
||||
docker build --build-arg BUILD_IDENTIFIER=${SHORT_HASH:0:5} -t gpatti/mediaLoreweb-app:${BRANCH_NAME} .
|
||||
docker build --build-arg BUILD_IDENTIFIER=${SHORT_HASH:0:5} -t gpatti/medialoreweb-app:${BRANCH_NAME} .
|
||||
|
||||
# Tag the same image as "latest"
|
||||
docker tag gpatti/mediaLoreweb-app:${BRANCH_NAME} gpatti/mediaLoreweb-app:${BRANCH_NAME}-latest
|
||||
docker tag gpatti/medialoreweb-app:${BRANCH_NAME} gpatti/medialoreweb-app:${BRANCH_NAME}-latest
|
||||
|
||||
- name: Push Docker Images
|
||||
env:
|
||||
BRANCH_NAME: ${{ github.ref_name }}
|
||||
SHORT_HASH: ${{ github.sha }}
|
||||
run: |
|
||||
docker push gpatti/mediaLoreweb-app:${BRANCH_NAME}
|
||||
docker push gpatti/mediaLoreweb-app:${BRANCH_NAME}-latest
|
||||
docker push gpatti/medialoreweb-app:${BRANCH_NAME}
|
||||
docker push gpatti/medialoreweb-app:${BRANCH_NAME}-latest
|
||||
|
||||
- name: Log out from registry
|
||||
if: always()
|
||||
|
||||
Reference in New Issue
Block a user