Update actions/checkout digest to eef6144 #195
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Snapshot to Docker Hub | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
snapshot: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # 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@b36c23c0d998641eff861008f374ee103c25ac73 # 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 }} |