Adds pkg-config
and bumps HLS version
#52
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and push docker image | |
on: | |
push: | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
build_and_push_image: | |
strategy: | |
matrix: | |
os: [[self-hosted, linux, x64], [self-hosted, linux, arm64]] | |
runs-on: ${{ matrix.os }} | |
name: Build and Push Docker Image | |
steps: | |
- name: Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Log in to the Github Container registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Set up Docker buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Expose GitHub Runtime | |
uses: crazy-max/ghaction-github-runtime@v3 | |
- name: Build And Push Image | |
run: | | |
./build-image.sh build-and-push-arch-tag | |
build_and_push_manifest: | |
name: Build manifest docker image | |
runs-on: [self-hosted, linux, x64] | |
needs: [build_and_push_image] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Docker buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Log in to the Github Container registry | |
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and push manifest | |
run: | | |
./build-image.sh push-manifest |