trigger build on test branch
Build and Push Docker Image / build-and-push (push) Failing after 9s
Details
Build and Push Docker Image / build-and-push (push) Failing after 9s
Details
This commit is contained in:
parent
f9deb0aff0
commit
3af1975a8a
|
@ -3,6 +3,7 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- main
|
||||
- gitea_actions
|
||||
|
||||
jobs:
|
||||
build-and-push:
|
||||
|
@ -21,7 +22,7 @@ jobs:
|
|||
- name: Generate tag for the image
|
||||
run: |
|
||||
SHA_TAG=${CI_COMMIT_SHA::5}
|
||||
REPO_NAME=$(basename $CI_REPOSITORY)
|
||||
REPO_NAME=$(basename $CI_PROJECT_NAME)
|
||||
IMAGE_TAG_SHA="${{ secrets.CR_endpoint }}/${{ secrets.CR_username }}/${REPO_NAME}:${SHA_TAG}"
|
||||
# IMAGE_TAG_LATEST="${{ secrets.CR_endpoint }}/${{ secrets.CR_username }}/${REPO_NAME}:latest"
|
||||
|
||||
|
|
Loading…
Reference in New Issue