Update build step

This commit is contained in:
Keannu Bernasol 2024-10-17 18:48:50 +08:00
parent ffb7b7c27d
commit bb8a2137f6

View file

@ -10,7 +10,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: