Skip to content

Commit

Permalink
Added docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
MaartendeKruijf committed Mar 6, 2024
1 parent 6086c68 commit 0c4804b
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/dockerbuild.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Docker

on:
pull_request:
branches: [ master, development ]

jobs:
needs: compile
docker-build:
name: Build docker image
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Make repo safe
run: git config --global --add safe.directory /__w/SOARCA/SOARCA

- name: Build image
run: |
export VERSION=$(git describe --tags --dirty)
echo $VERSION
docker build --build-arg VERSION -t $CI_REGISTRY_IMAGE:$VERSION

0 comments on commit 0c4804b

Please sign in to comment.