Skip to content

Instantly share code, notes, and snippets.

@dnno
Created November 19, 2024 09:15
Show Gist options
  • Save dnno/23dae34b78fe547fae650e5dfda4055c to your computer and use it in GitHub Desktop.
Save dnno/23dae34b78fe547fae650e5dfda4055c to your computer and use it in GitHub Desktop.
Woodpecker push image pipeline
when:
- event: tag
steps:
- name: push-image
image: eclipse-temurin:17-jdk-alpine
environment:
REGISTRY_USERNAME:
from_secret: registry_username
REGISTRY_PASSWORD:
from_secret: registry_password
commands:
- ./gradlew jib -Papp.version=${CI_COMMIT_TAG} -Pdocker.repo.username=$${REGISTRY_USERNAME} -Pdocker.repo.password=$${REGISTRY_PASSWORD}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment