Skip to content

Merge pull request #67 from gal/gal-patch-1 #60

Merge pull request #67 from gal/gal-patch-1

Merge pull request #67 from gal/gal-patch-1 #60

Workflow file for this run

name: Build API
on:
push:
branches:
- 'main'
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
# Builds docker images and pushes them to GHCR
-
name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ secrets.USER }}
password: ${{ secrets.TOKEN }}
-
name: Build and push
uses: docker/[email protected]
with:
context: ./api
push: true
tags: ghcr.io/gal/cs3500-api:latest