Skip to content

Commit

Permalink
Add workflow action to build and release pacman demo image
Browse files Browse the repository at this point in the history
  • Loading branch information
ll-nick committed Nov 7, 2024
1 parent 765d06b commit 11dd64b
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/build-and-push-docker.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Push Docker Image
name: Build and Push Docker Images

on:
push:
Expand Down Expand Up @@ -41,3 +41,16 @@ jobs:
ghcr.io/kit-mrt/arbitration_graphs:${{ env.VERSION }}
target: install

- name: Build and push 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_demo:latest
ghcr.io/kit-mrt/arbitration_graphs_pacman_demo:${{ env.VERSION }}
target: demo

0 comments on commit 11dd64b

Please sign in to comment.