diff --git a/.github/workflows/deploy-snapshot.sh b/.github/workflows/deploy-snapshot.sh index 227c79c..6d90615 100755 --- a/.github/workflows/deploy-snapshot.sh +++ b/.github/workflows/deploy-snapshot.sh @@ -21,6 +21,12 @@ fi xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> + + + + io7m-oci-image + + sonatype-nexus-snapshots diff --git a/.github/workflows/deploy.linux.temurin.lts.yml b/.github/workflows/deploy.linux.temurin.lts.yml index 8da1a96..2e4c15a 100644 --- a/.github/workflows/deploy.linux.temurin.lts.yml +++ b/.github/workflows/deploy.linux.temurin.lts.yml @@ -1,3 +1,4 @@ + name: deploy.linux.temurin.lts on: @@ -16,12 +17,19 @@ jobs: uses: actions/setup-java@v4 with: java-version: 21 - distribution: 'temurin' + distribution: temurin - name: Import signing key env: PGP_SIGNING_KEY: ${{ secrets.PGP_SIGNING_KEY }} - run: echo "${PGP_SIGNING_KEY}" | gpg --import + run: echo ${PGP_SIGNING_KEY} | gpg --import + + - name: Log in to Quay.io. + uses: redhat-actions/podman-login@v1.7 + with: + username: ${{ secrets.QUAY_IO_USERNAME }} + password: ${{ secrets.QUAY_IO_PASSWORD }} + registry: 'quay.io' - name: Deploy release env: diff --git a/.github/workflows/main.linux.temurin.lts.yml b/.github/workflows/main.linux.temurin.lts.yml index a24f887..0f27b5f 100644 --- a/.github/workflows/main.linux.temurin.lts.yml +++ b/.github/workflows/main.linux.temurin.lts.yml @@ -43,6 +43,13 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} file: com.io7m.jinterp.tests/target/site/jacoco-aggregate/jacoco.xml + - name: Log in to Quay.io. + uses: redhat-actions/podman-login@v1.7 + with: + username: ${{ secrets.QUAY_IO_USERNAME }} + password: ${{ secrets.QUAY_IO_PASSWORD }} + registry: 'quay.io' + - name: Deploy snapshot if: ${{ steps.project_is_snapshot.outputs.IO7M_PROJECT_VERSION_IS_SNAPSHOT == 'true' }} env: