Running with gitlab-runner 11.7.0 (8bb608ff)
  on Cloud SKBMPK runner 42b5eee4
Using Shell executor...
section_start:1712111878:prepare_script
Running on ctsbmaster3...
section_end:1712111878:prepare_script
section_start:1712111878:get_sources
Fetching changes...
HEAD is now at 14194f2 update
From http://gitlab.cybersolution.com.my/ShahErhan/htmlasset
   14194f2..661a5fc  master     -> origin/master
Checking out 661a5fcc as master...
Skipping Git submodules setup
section_end:1712111878:get_sources
section_start:1712111878:restore_cache
section_end:1712111878:restore_cache
section_start:1712111878:download_artifacts
section_end:1712111878:download_artifacts
section_start:1712111878:build_script
$ TAG="$IMG_NAME:0.0.1" && echo "tag: $TAG"
tag: htmlasset:0.0.1
$ PUSH_TAG="$REGISTRY_URL/$TAG" && echo "pushtag: $PUSH_TAG"
pushtag: repo.cybersolution.com.my:9005/htmlasset:0.0.1
$ docker build --rm -t $TAG .
Sending build context to Docker daemon  12.42MB

Step 1/3 : FROM nginx:1.25.4-alpine
 ---> e289a478ace0
Step 2/3 : COPY . /usr/share/nginx/html
 ---> dba776264d44
Step 3/3 : COPY nginx.conf /etc/nginx/conf.d/default.conf
 ---> 26f7b8676392
Successfully built 26f7b8676392
Successfully tagged htmlasset:0.0.1
$ docker login -u $REGISTRY_USER -p $REGISTRY_PASSWORD $REGISTRY_URL
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
WARNING! Your password will be stored unencrypted in /home/gitlab-runner/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store

Login Succeeded
$ docker tag $TAG $PUSH_TAG
$ docker push $PUSH_TAG
The push refers to repository [repo.cybersolution.com.my:9005/htmlasset]
0b7cfa63258f: Preparing
8166e71954f2: Preparing
13c52683b537: Preparing
337b7d64083b: Preparing
cdd311f34c29: Preparing
3e8ad8bcb0ac: Preparing
74b4ff8dbbd1: Preparing
c018a48a857c: Preparing
0f73163669d4: Preparing
aedc3bda2944: Preparing
3e8ad8bcb0ac: Waiting
74b4ff8dbbd1: Waiting
c018a48a857c: Waiting
0f73163669d4: Waiting
aedc3bda2944: Waiting
13c52683b537: Layer already exists
cdd311f34c29: Layer already exists
337b7d64083b: Layer already exists
74b4ff8dbbd1: Layer already exists
3e8ad8bcb0ac: Layer already exists
c018a48a857c: Layer already exists
aedc3bda2944: Layer already exists
0f73163669d4: Layer already exists
0b7cfa63258f: Pushed
8166e71954f2: Pushed
0.0.1: digest: sha256:3fd38d935495d9d2eee47849efb6bd6fde5320ae5a551dc590e9c8d38a22c517 size: 2407
$ docker image rm $PUSH_TAG $TAG
Untagged: repo.cybersolution.com.my:9005/htmlasset:0.0.1
Untagged: repo.cybersolution.com.my:9005/htmlasset@sha256:3fd38d935495d9d2eee47849efb6bd6fde5320ae5a551dc590e9c8d38a22c517
Untagged: htmlasset:0.0.1
Deleted: sha256:26f7b8676392d1cab933e0b7fbed4bb4ae9e98926ae73975379b80633237a379
Deleted: sha256:e0529cb315a5fce7a5679f79dc78974afb0c9812454e91131e084238dac8091c
Deleted: sha256:dba776264d44be782994a9f713f862016eb495a38e2bdea650f44494bf1fd465
Deleted: sha256:74a900e754e96bd2783e42c1bdd0e9f030cc4e2a4f90295ce4970a26dfb92abd
section_end:1712111885:build_script
section_start:1712111885:after_script
section_end:1712111885:after_script
section_start:1712111885:archive_cache
section_end:1712111885:archive_cache
section_start:1712111885:upload_artifacts_on_success
section_end:1712111885:upload_artifacts_on_success
Job succeeded