| | |
| | | sudo apt install --install-recommends winehq-stable |
| | | sudo mkdir -p /opt/wine/mono && sudo wget "https://dl.winehq.org/wine/wine-mono/8.0.0/wine-mono-8.0.0-x86.tar.xz" -P /opt/wine/mono && sudo tar -xf /opt/wine/mono/wine-mono-8.0.0-x86.tar.xz -C /opt/wine/mono && sudo rm /opt/wine/mono/wine-mono-8.0.0-x86.tar.xz |
| | | wine --version |
| | | - uses: actions/checkout@v3 |
| | | - uses: actions/checkout@v4 |
| | | with: |
| | | fetch-depth: 0 |
| | | submodules: recursive |
| | | - name: Set up Java for publishing to Maven Central Repository OSS |
| | | uses: actions/setup-java@v3 |
| | | uses: actions/setup-java@v4 |
| | | with: |
| | | java-version: '8' |
| | | distribution: 'temurin' |
| | |
| | | server-username: MAVEN_USERNAME |
| | | server-password: MAVEN_PASSWORD |
| | | - name: Cache Maven packages |
| | | uses: actions/cache@v3 |
| | | uses: actions/cache@v4 |
| | | with: |
| | | path: ~/.m2/repository |
| | | key: ${{ runner.os }}-m2-repository-${{ hashFiles('**/pom.xml') }} |
| | |
| | | opendj-doc-generated-ref/target/*.zip |
| | | opendj-dsml-servlet/target/*.war |
| | | opendj-rest2ldap-servlet/target/*.war |
| | | - uses: actions/checkout@v3 |
| | | - uses: actions/checkout@v4 |
| | | continue-on-error: true |
| | | with: |
| | | repository: ${{ github.repository }}.wiki |
| | |
| | | needs: |
| | | - release-maven |
| | | steps: |
| | | - uses: actions/checkout@v3 |
| | | - uses: actions/checkout@v4 |
| | | with: |
| | | ref: ${{ github.event.inputs.releaseVersion }} |
| | | fetch-depth: 1 |
| | | submodules: recursive |
| | | - name: Docker meta |
| | | id: meta |
| | | uses: docker/metadata-action@v4 |
| | | uses: docker/metadata-action@v5 |
| | | with: |
| | | images: | |
| | | ${{ github.repository }} |
| | |
| | | type=raw,value=latest |
| | | type=raw,value=${{ github.event.inputs.releaseVersion }} |
| | | - name: Set up QEMU |
| | | uses: docker/setup-qemu-action@v2 |
| | | uses: docker/setup-qemu-action@v3 |
| | | - name: Set up Docker Buildx |
| | | uses: docker/setup-buildx-action@v2 |
| | | uses: docker/setup-buildx-action@v3 |
| | | - name: Login to DockerHub |
| | | uses: docker/login-action@v2 |
| | | with: |
| | |
| | | username: ${{ github.repository_owner }} |
| | | password: ${{ secrets.GITHUB_TOKEN }} |
| | | - name: Build and push image |
| | | uses: docker/build-push-action@v3 |
| | | uses: docker/build-push-action@v5 |
| | | continue-on-error: true |
| | | with: |
| | | context: ./opendj-packages/opendj-docker |
| | |
| | | needs: |
| | | - release-maven |
| | | steps: |
| | | - uses: actions/checkout@v3 |
| | | - uses: actions/checkout@v4 |
| | | with: |
| | | ref: ${{ github.event.inputs.releaseVersion }} |
| | | fetch-depth: 1 |
| | | submodules: recursive |
| | | - name: Docker meta |
| | | id: meta |
| | | uses: docker/metadata-action@v4 |
| | | uses: docker/metadata-action@v5 |
| | | with: |
| | | images: | |
| | | ${{ github.repository }} |
| | |
| | | type=raw,value=alpine |
| | | type=raw,value=${{ github.event.inputs.releaseVersion }}-alpine |
| | | - name: Set up QEMU |
| | | uses: docker/setup-qemu-action@v2 |
| | | uses: docker/setup-qemu-action@v3 |
| | | - name: Set up Docker Buildx |
| | | uses: docker/setup-buildx-action@v2 |
| | | uses: docker/setup-buildx-action@v3 |
| | | - name: Login to DockerHub |
| | | uses: docker/login-action@v2 |
| | | with: |
| | |
| | | password: ${{ secrets.GITHUB_TOKEN }} |
| | | - name: Build and push image |
| | | continue-on-error: true |
| | | uses: docker/build-push-action@v3 |
| | | uses: docker/build-push-action@v5 |
| | | with: |
| | | context: ./opendj-packages/opendj-docker |
| | | file: ./opendj-packages/opendj-docker/Dockerfile-alpine |