Skip to content
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.

Commit

Permalink
Create docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
litalmason authored Jan 30, 2024
1 parent 487fdd7 commit 06b2d97
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Docker Image CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Build the Docker image
run: |
REPO_NAME=$(echo $GITHUB_REPOSITORY | tr '/' '-')
docker build ./portal --file ./portal/Dockerfile --tag $REPO_NAME:$(date +%s)

0 comments on commit 06b2d97

Please sign in to comment.