This commit is contained in:
@@ -13,8 +13,8 @@ jobs:
|
|||||||
# Set up the docker daemon for building the image
|
# Set up the docker daemon for building the image
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: https://github.com/actions/checkout@v4
|
|
||||||
- name: build-image
|
- name: build-image
|
||||||
|
uses: https://github.com/actions/checkout@v4
|
||||||
- run: docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY # Login to the registry
|
- run: docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY # Login to the registry
|
||||||
- run: docker pull $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME || true # Pull the image if it exists
|
- run: docker pull $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME || true # Pull the image if it exists
|
||||||
# Build the image and tag it with the branch name and latest
|
# Build the image and tag it with the branch name and latest
|
||||||
|
Reference in New Issue
Block a user