Skip to content

Publish early jdk8 images for smoke tests #7

Publish early jdk8 images for smoke tests

Publish early jdk8 images for smoke tests #7

name: Publish early jdk8 images for smoke tests
on:
push:
paths:
- "smoke-tests/images/early-jdk8/**"
- ".github/workflows/pr-smoke-test-early-jdk8-images.yml"
branches:
- main
workflow_dispatch:
permissions:
contents: read
jobs:
publish:
permissions:
packages: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Free disk space
run: .github/scripts/gha-free-disk-space.sh
- name: Set up JDK for running Gradle
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0
with:
distribution: temurin
java-version-file: .java-version
- name: Login to GitHub package registry
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
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: Setup Gradle
uses: gradle/actions/setup-gradle@0bdd871935719febd78681f197cd39af5b6e16a6 # v4.2.2
- name: Build Docker image
run: ./gradlew :smoke-tests:images:early-jdk8:dockerPush -PextraTag=${{ env.TAG }}
workflow-notification:
permissions:
issues: write
needs:
- publish
if: always()
uses: ./.github/workflows/reusable-workflow-notification.yml

Check failure on line 54 in .github/workflows/publish-smoke-test-early-jdk8-images.yml

View workflow run for this annotation

GitHub Actions / Publish early jdk8 images for smoke tests

Invalid workflow file

The workflow is not valid. In .github/workflows/publish-smoke-test-early-jdk8-images.yml (Line: 54, Col: 11): Error from called workflow trask/opentelemetry-java-instrumentation/.github/workflows/reusable-workflow-notification.yml@2daf5250129b461df2c2902ac9f8a8c33b0c2da1 (Line: 13, Col: 3): Unexpected value 'content' In .github/workflows/publish-smoke-test-early-jdk8-images.yml (Line: 54, Col: 11): Error from called workflow trask/opentelemetry-java-instrumentation/.github/workflows/reusable-workflow-notification.yml@2daf5250129b461df2c2902ac9f8a8c33b0c2da1 (Line: 18, Col: 7): Unexpected value 'content'
with:
success: ${{ needs.publish.result == 'success' }}