--- kind: pipeline name: default type: docker steps: - name: build image: eclipse-temurin:8-jdk commands: - ./gradlew build - name: publish image: eclipse-temurin:8-jdk environment: AUTH_TOKEN: # Gitea access token ENV variable from_secret: auth # Name of DroneCI secret exposed above commands: - ./gradlew publishAllPublicationsToGiteaRepository when: event: - tag