Skip to content

Commit

Permalink
Fix play smoke-test image publishing (#6988)
Browse files Browse the repository at this point in the history
Resolves #6983
  • Loading branch information
trask authored Oct 27, 2022
1 parent 9d23fd6 commit 2642c11
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/publish-smoke-test-play-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,38 +20,8 @@ jobs:
skip-java-17: true
skip-java-19: true

publish-java-15:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up JDK for running Gradle
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17

- name: Login to GitHub package registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set tag
run: echo "TAG=$(date '+%Y%m%d').$GITHUB_RUN_ID" >> $GITHUB_ENV

- name: Set up Gradle cache
uses: gradle/gradle-build-action@v2

# Play doesn't support Java 16 (or 17) yet
# https://github.com/playframework/playframework/pull/10819
- name: Build Java 15 Docker image
run: ./gradlew :smoke-tests:images:play:jib -PtargetJDK=15 -Djib.httpTimeout=120000 -Djib.console=plain -Ptag=${{ env.TAG }}

open-issue-on-failure:
needs:
- publish
- publish-java-15
if: failure()
uses: ./.github/workflows/reusable-open-issue-on-failure.yml

0 comments on commit 2642c11

Please sign in to comment.