Skip to content

Commit

Permalink
Push image to f25e common container registry (#522)
Browse files Browse the repository at this point in the history
* Push image to f25e common container registry

* fix new line
  • Loading branch information
paramids authored Jun 28, 2024
1 parent 3e4b2b7 commit 7a76a0d
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/docker-builder-publisher.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,27 @@ jobs:
run: |
poetry export -f requirements.txt --output requirements.txt --extras "all"
- id: version
name: Build Version
run: echo "version=$(date -u '+%Y%m%dT%H%M%SZ')" >> $GITHUB_ENV

- name: Azure login
uses: azure/login@v1
with:
client-id: 9c8d1e31-54b5-4156-b1d0-408135e2b55b
tenant-id: a9ae5b54-3600-4917-a9dc-3020723360b3
subscription-id: fd108646-dc13-4d9a-9b8c-d9dbde664887

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Build and push
uses: docker/build-push-action@v4
env:
VERSION: ${{ env.version }}
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm64/v8
push: true
tags: cognite/neat:latest, cognite/neat:${{ github.ref_name }}
tags: cognite/neat:latest, cognite/neat:${{ github.ref_name }}, scsproduction.azurecr.io/neat:${{ env.version }}

0 comments on commit 7a76a0d

Please sign in to comment.