Skip to content

Commit

Permalink
Load builds
Browse files Browse the repository at this point in the history
  • Loading branch information
thehedhly committed Jan 21, 2024
1 parent 728a7aa commit a625ecc
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
strategy:
matrix:
data:
- package: ansible-core
- package: ansible-core
version: 2.16
runs-on: ubuntu-latest
Expand All @@ -34,6 +35,8 @@ jobs:
uses: docker/metadata-action@v5
with:
images: thehedhly/${{ matrix.data.package }}
labels: |
org.opencontainers.image.version=${{ matrix.data.version }}
- name: 'Build and push'
uses: docker/build-push-action@v5
with:
Expand All @@ -44,6 +47,6 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
ANSIBLE_INSTALL_REFS=${{ matrix.data.package }}==${{ matrix.data.version }}
# labels:
# - "$BUILD_TIME"
ANSIBLE_INSTALL_REFS=${{ matrix.data.version == '' && matrix.data.package || format('{0}={1}',matrix.data.package,matrix.data.version) }}
# ANSIBLE_INSTALL_REFS=${{ matrix.data.package }}==${{ matrix.data.version }}

0 comments on commit a625ecc

Please sign in to comment.