Skip to content

Commit

Permalink
Add github build-deliver.yaml, as copied from https://github.com/uwci…
Browse files Browse the repository at this point in the history
  • Loading branch information
mcjustin committed Oct 15, 2024
1 parent f05d700 commit ad00545
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build-deliver.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# docker continuous delivery
# build docker images and push to configured repo, with tags to match branches and git tags
---
name: Build & Deliver
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout git commit
uses: actions/checkout@main

- name: Publish to GitHub Container Registry
# TODO: pin to hash
uses: elgohr/Publish-Docker-Github-Action@main
with:
name: ${{ github.repository }}
registry: ghcr.io

# GitHub actor
username: ${{ github.actor }}

# GitHub access token
password: ${{ secrets.GITHUB_TOKEN }}

# create docker image tags to match git tags
tag_names: true

0 comments on commit ad00545

Please sign in to comment.