diff --git a/.gitea/workflows/prod.yml b/.gitea/workflows/prod.yml index 2dcb460..2c634d8 100644 --- a/.gitea/workflows/prod.yml +++ b/.gitea/workflows/prod.yml @@ -5,11 +5,8 @@ on: branches: [ main ] jobs: - release-image: + deploy: runs-on: act-runner-user - env: - DOCKER_ORG: gcg - DOCKER_LATEST: latest steps: - name: Checkout uses: https://github.com/actions/checkout@v4 @@ -26,9 +23,9 @@ jobs: - name: Deploy run: | export SPRINGSEC_VERSION=$(xmlstarlet sel -N x="http://maven.apache.org/POM/4.0.0" -t -m 'x:project/x:properties/x:version.springsec' -v . pom.xml) - curl -sL --output \ - https://repo1.maven.org/maven2/org/springframework/security/spring-security-crypto/$SPRINGSEC_VERSION/spring-security-crypto-$SPRINGSEC_VERSION.jar - /opt/data/keycloak/providers/spring-security-crypto-$SPRINGSEC_VERSION.jar + curl -sL \ + https://repo1.maven.org/maven2/org/springframework/security/spring-security-crypto/$SPRINGSEC_VERSION/spring-security-crypto-$SPRINGSEC_VERSION.jar \ + --output /opt/data/keycloak/providers/spring-security-crypto-$SPRINGSEC_VERSION.jar export SPI_VERSION=$(xmlstarlet sel -N x="http://maven.apache.org/POM/4.0.0" -t -m 'x:project/x:version' -v . pom.xml) cp -r target/keycloak-mailcow-$KEYCLOAK_VERSION.jar /opt/data/keycloak/providers/keycloak-mailcow-$KEYCLOAK_VERSION.jar