Skip to content

Merge branch 'main' of https://github.com/SSIvanov19/catch-up #8

Merge branch 'main' of https://github.com/SSIvanov19/catch-up

Merge branch 'main' of https://github.com/SSIvanov19/catch-up #8

Workflow file for this run

name: Build and publish Docker image
on:
push:
branches:
- main
env:
IMAGE_NAME: catch-up-server
jobs:
build:
name: Build container image
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Log into registry
uses: docker/login-action@v1
with:
registry: ${{ secrets.ACR_ENDPOINT }}
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
- name: Build & Push
uses: docker/build-push-action@v5
with:
context: ./server
push: true
tags: ${{ secrets.ACR_ENDPOINT }}/${{ env.IMAGE_NAME }}:latest