Skip to content

Commit

Permalink
.github/workflows: add docker images export on github packages
Browse files Browse the repository at this point in the history
Signed-off-by: Andreea Andrisan <[email protected]>
  • Loading branch information
AAndrisa committed Jul 25, 2024
1 parent 54c6d6a commit acb23c3
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/docker-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}

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

- name: Checkout Dockerfile for image building
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -66,7 +73,9 @@ jobs:
uses: docker/build-push-action@v2
with:
push: true
tags: aandrisa/${{ matrix.kuiper_artifact }}:latest
file: ci/Dockerfile
context: .
platforms: ${{ matrix.arch }}
tags: |
aandrisa/${{ matrix.kuiper_artifact }}:latest
ghcr.io/analogdevicesinc/adi-kuiper-gen/${{ matrix.kuiper_artifact }}:latest

0 comments on commit acb23c3

Please sign in to comment.