Update deployment build step

This commit is contained in:
Keannu Bernasol 2024-10-17 18:02:52 +08:00
parent 1b5e79e420
commit 328e5153fb

View file

@ -10,7 +10,7 @@ steps:
commands: commands:
- docker build -t "$REGISTRY_IMAGE_TAG" . - docker build -t "$REGISTRY_IMAGE_TAG" .
- echo "$FORGEJO_REGISTRY_PASSWORD" | docker login "$FORGEJO_REGISTRY_URL" --password-stdin -u "$FORGEJO_REGISTRY_USERNAME" - echo "$FORGEJO_REGISTRY_PASSWORD" | docker login "$FORGEJO_REGISTRY_URL" --password-stdin -u "$FORGEJO_REGISTRY_USERNAME"
- docker push "$REGISTRY_IMAGE_TAG" - docker push "$FORGEJO_REGISTRY_URL"
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
secrets: secrets: