Skip to content

Commit

Permalink
Adds tags workflow + renames code-checks CI yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
marshallmcdonnell committed Jul 7, 2023
1 parent 3a04fb6 commit 9a0db16
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test
name: Code checks

on:
push:
Expand Down
52 changes: 52 additions & 0 deletions .github/workflows/tags.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Tagged Releases

on:
push:
tags:
- '*'

jobs:
publish-container-image:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build and push database
uses: docker/build-push-action@v4
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/smart-spectral-matching/ssm-service-ml-db:${{ github.ref_name }}
ghcr.io/smart-spectral-matching/ssm-service-ml-db:latest
-
name: Build and push jupyterhub
uses: docker/build-push-action@v4
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/smart-spectral-matching/ssm-service-ml-jupyterhub:${{ github.ref_name }}
ghcr.io/smart-spectral-matching/ssm-service-ml-jupyterhub:latest

0 comments on commit 9a0db16

Please sign in to comment.