Skip to content

Commit

Permalink
Create Docker image workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderrichards committed Dec 14, 2022
1 parent 43225a1 commit 9277371
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Docker Image CI

on:
push:
tags:
- v*

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Build the Docker image
run: docker build ./build --tag alexanderrichards/productionsystem:$(basename $GITHUB_REF)
- name: Publish the Docker image
run: docker push docker.pkg.github.com/alexanderrichards/repo/productionsystem:$(basename $GITHUB_REF)

0 comments on commit 9277371

Please sign in to comment.