Skip to content

Feature/first login (#11) #11

Feature/first login (#11)

Feature/first login (#11) #11

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Backend CI/CD Deployment
on:
push:
branches: [ "master", "main" ]
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: 'backend'
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Build with Maven
run: mvn quarkus:build package
# deploy:
# needs: build
# runs-on: ubuntu-latest
# steps:
# -
# name: Checkout
# uses: actions/checkout@v3
# -
# name: Set up QEMU
# uses: docker/setup-qemu-action@v2
# -
# name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v2
# -
# name: Login to Docker Hub
# uses: docker/login-action@v2
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}
# -
# name: Build
# uses: docker/build-push-action@v4
# with:
# context: backend/
# push: true
# tags: zelytra/glm_backend:latest
#