Skip to content

Commit

Permalink
Fix CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
ehfd authored Oct 25, 2023
1 parent 72c852e commit 99a507b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/container-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ env:
IMAGE_NAME: selkies-project/nvidia-egl-desktop
jobs:
build:
name: Build and push Ubuntu ${{ matrix.os_version }}
runs-on: ubuntu-latest
permissions:
contents: read
Expand All @@ -21,9 +22,8 @@ jobs:
matrix:
include:
- os_version: "20.04"
latest_version: false
- os_version: "22.04"
latest_version: true
latest_tag: true
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -51,5 +51,5 @@ jobs:
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ matrix.os_version }}
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ matrix.os_version }}-${{ env.COMMIT_TIME_GIT }}
${{ matrix.latest_version == 'true' && format('{0}/{1}:latest', env.REGISTRY, env.IMAGE_NAME) || '' }}
${{ matrix.latest_tag && format('{0}/{1}:latest', env.REGISTRY, env.IMAGE_NAME) || '' }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 99a507b

Please sign in to comment.