Skip to content

[enhancement/improveclose] Improved close feature (#49) #23

[enhancement/improveclose] Improved close feature (#49)

[enhancement/improveclose] Improved close feature (#49) #23

name: Docker Publish
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install Java
uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'corretto'
- name: Build Docker image and publish
env:
ORG_REGISTRY_USER: ${{ secrets.ORG_REGISTRY_USER }}
ORG_REGISTRY_PASSWORD: ${{ secrets.ORG_REGISTRY_PASSWORD }}
BRANCH_NAME: ${{ github.ref_name }}
run: ./gradlew jib
- name: Trigger deployment
run: "curl -H 'Authorization: Bearer ${{ secrets.ORG_WATCHTOWER_TOKEN }}' https://togetherjava.org:5003/v1/update"