Skip to content

prevent multiple locks by same user #24

prevent multiple locks by same user

prevent multiple locks by same user #24

Workflow file for this run

name: Build Backend
on:
push:
branches: [ master ]
paths: ['spring-backend/**']
workflow_dispatch:
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
java-version: '21'
distribution: 'temurin'
- name: Build with Maven
run: mvn -f ./spring-backend/pom.xml -B clean install
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.CODECAMP23_USERNAME }}
password: ${{ secrets.CODECAMP23_ACCESS_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v3
with:
# relative path to the place where source code with Dockerfile is located
context: ./spring-backend
push: true
tags: lukasbre/realtimecollab-client:latest