Skip to content

Commit

Permalink
added mamba build to gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
popenc committed Sep 12, 2023
1 parent 3715ef6 commit 1d9581c
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/docker-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,38 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

build-api-mamba:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Log in to the Container registry
uses: docker/login-action@v1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY }}/${{ env.API_IMAGE }}
tags: |
type=raw,value=${{github.ref_name}}-mamba-${{github.sha}}
- name: Build and push cyan-waterbody API image
uses: docker/build-push-action@v2
with:
context: .
file: Dockerfile_Mamba
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

# build-flask:
# runs-on: ubuntu-latest
# permissions:
Expand Down

0 comments on commit 1d9581c

Please sign in to comment.