Skip to content

Merge pull request #8 from barnhill/master-to-main #78

Merge pull request #8 from barnhill/master-to-main

Merge pull request #8 from barnhill/master-to-main #78

Workflow file for this run

name: Barcode API CI
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'corretto' # See 'Supported distributions' for available options
java-version: '21'
- uses: docker/setup-buildx-action@v3
- name: Login to Docker
run: echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
- name: Build the Docker image
run: ./dockerbuild.sh