Skip to content

Commit

Permalink
Add workflow action to build and push tutorial docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
ll-nick committed Nov 12, 2024
1 parent 11dd64b commit 43086fb
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/build-and-push-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: |
cat version >> $GITHUB_ENV
- name: Build and push Docker image
- name: Build and push core library Docker image
uses: docker/build-push-action@v6
with:
push: true
Expand All @@ -41,7 +41,7 @@ jobs:
ghcr.io/kit-mrt/arbitration_graphs:${{ env.VERSION }}
target: install

- name: Build and push Docker image
- name: Build and push Pacman demo Docker image
uses: docker/build-push-action@v6
with:
build-args: |
Expand All @@ -54,3 +54,16 @@ jobs:
ghcr.io/kit-mrt/arbitration_graphs_pacman_demo:${{ env.VERSION }}
target: demo

- name: Build and push Pacman tutorial Docker image
uses: docker/build-push-action@v6
with:
build-args: |
VERSION=${{ env.VERSION }}
context: demo
file: demo/Dockerfile
push: true
tags: |
ghcr.io/kit-mrt/arbitration_graphs_pacman_tutorial:latest
ghcr.io/kit-mrt/arbitration_graphs_pacman_tutorial:${{ env.VERSION }}
target: tutorial

0 comments on commit 43086fb

Please sign in to comment.