fix ci
Some checks failed
deploy / deploy (push) Failing after 10s

This commit is contained in:
Denys Konovalov 2023-12-22 16:34:08 +01:00
parent 785d1c4637
commit 28c2ce8ea0
Signed by: Denys Konovalov
GPG Key ID: 0037E1B0E33BD2C9

@ -5,11 +5,8 @@ on:
branches: [ main ] branches: [ main ]
jobs: jobs:
release-image: deploy:
runs-on: act-runner-user runs-on: act-runner-user
env:
DOCKER_ORG: gcg
DOCKER_LATEST: latest
steps: steps:
- name: Checkout - name: Checkout
uses: https://github.com/actions/checkout@v4 uses: https://github.com/actions/checkout@v4
@ -26,9 +23,9 @@ jobs:
- name: Deploy - name: Deploy
run: | 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) 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 \ curl -sL \
https://repo1.maven.org/maven2/org/springframework/security/spring-security-crypto/$SPRINGSEC_VERSION/spring-security-crypto-$SPRINGSEC_VERSION.jar 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 --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) 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 cp -r target/keycloak-mailcow-$KEYCLOAK_VERSION.jar /opt/data/keycloak/providers/keycloak-mailcow-$KEYCLOAK_VERSION.jar