Skip to content

Update actions/setup-java digest to 2dfa201 #189

Update actions/setup-java digest to 2dfa201

Update actions/setup-java digest to 2dfa201 #189

Workflow file for this run

name: Publish Snapshot to Docker Hub
on:
push:
branches:
- master
jobs:
snapshot:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Checkout Extension SDK
run: |
git clone https://github.com/hivemq/hivemq-extension-sdk.git ../hivemq-extension-sdk
cd ../hivemq-extension-sdk
git checkout ${GITHUB_REF##*/} || true
cd ../hivemq-community-edition
- name: Setup Java
uses: actions/setup-java@2dfa2011c5b2a0f1489bf9e433881c92c1631f88 # v4
with:
distribution: 'temurin'
java-version: '11'
- name: Push Snapshot To Docker Hub
run: ./gradlew pushOciImage --registry dockerHub --tag snapshot
env:
ORG_GRADLE_PROJECT_dockerHubUsername: ${{ secrets.DOCKER_USERNAME }}
ORG_GRADLE_PROJECT_dockerHubPassword: ${{ secrets.DOCKER_TOKEN }}