Skip to content

Commit

Permalink
Merge branch 'main' of github.com:uwcirg/smart.health.links
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellrgn committed Mar 28, 2024
2 parents 10a7670 + 5484c04 commit 2d3411b
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 66 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build-deliver.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# 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 server images to GitHub Container Registry
# TODO: pin to hash
uses: elgohr/Publish-Docker-Github-Action@main
with:
name: ${{ github.repository }}-server
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

# build Dockerfile in server/ service directory
workdir: server
33 changes: 0 additions & 33 deletions .github/workflows/client.yaml

This file was deleted.

33 changes: 0 additions & 33 deletions .github/workflows/server.yml

This file was deleted.

0 comments on commit 2d3411b

Please sign in to comment.