Update build step

This commit is contained in:
Keannu Bernasol 2024-10-17 19:03:44 +08:00
parent af5247571f
commit 78e64eb00b

View file

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