Skip to content

Commit

Permalink
Merge pull request #60 from qase-tms/feat/build-action/#53
Browse files Browse the repository at this point in the history
Feat/build action/#53
  • Loading branch information
RyjkovAlexey authored Mar 10, 2024
2 parents ff7ebc9 + 8c10cd7 commit 463224b
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/build-backend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: build-backend
run-name: build-backend

on:
push:
branches:
- main


jobs:
build-and-push-job:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout Repo
uses: actions/checkout@v2

- name: Login to GH Container Regitstry
uses: docker/login-action@v1

with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build image
uses: docker/build-push-action@v2
with:
context: .
file: ./backend/Dockerfile
push: true
working-directory: ./backend
tags: ghcr.io/qase-tms/shelterpaws/shelterpaws:latest

0 comments on commit 463224b

Please sign in to comment.