Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
odulcy-mindee committed Sep 27, 2023
1 parent 491e34e commit c832a84
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/public_docker_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,11 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push Docker image (latest)
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with:
context: .
build-args: |
FRAMEWORK=${{ matrix.framework }}
PYTHON_VERSION=${{ matrix.python }}
DOCTR_VERSION=${{ github.sha }}
push: false # TODO: CHANGE ME
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
# used on schedule event
type=schedule,pattern={{date 'YYYY-MM-DD'}}
Expand All @@ -61,3 +57,14 @@ jobs:
type=semver,pattern={{raw}},prefix=${{ matrix.framework }}-py${{ matrix.python }}-
# the rest
type=sha,prefix=${{ matrix.framework }}-py${{ matrix.python }}-
- name: Build and push Docker image (latest)
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: .
build-args: |
FRAMEWORK=${{ matrix.framework }}
PYTHON_VERSION=${{ matrix.python }}
DOCTR_VERSION=${{ github.sha }}
push: false # TODO: CHANGE ME
tags: ${{ steps.meta.outputs.tags }}

0 comments on commit c832a84

Please sign in to comment.