Skip to content

Merge pull request #263 from TorMap/dev #7

Merge pull request #263 from TorMap/dev

Merge pull request #263 from TorMap/dev #7

Workflow file for this run

name: backend_docker
on:
push:
tags:
- 'v*'
jobs:
backend_docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'adopt'
- uses: gradle/gradle-build-action@v2
- uses: gradle/wrapper-validation-action@v3
- name: Build and push docker image
run: cd backend && ./gradlew jib