Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
zeriyoshi committed Jul 12, 2024
1 parent 4caa4b0 commit b59ad5d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/___build_variants.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,11 @@ jobs:
BASE_TAG_SHORT: "ghcr.io/${{ github.repository }}:${{ matrix.minor }}${{ matrix.variant }}"
run: |
echo "base=${BASE_TAG}-base" >> $GITHUB_OUTPUT
echo "values=${BASE_TAG}-${{ matrix.types }}${{ inputs.enable_minor && format(',{0}-{1}', env.BASE_TAG_SHORT, matrix.types) }}" >> $GITHUB_OUTPUT
echo "tags=${BASE_TAG}-${{ matrix.types }}${{ inputs.enable_minor && format(',{0}-{1}', env.BASE_TAG_SHORT, matrix.types) }}" >> $GITHUB_OUTPUT
- name: Get Debian version
id: debian_version
run: |
docker pull "${{ steps.determine_informations.outputs.base }}"
echo value="$(docker run --rm -i "${{ steps.determine_informations.outputs.base }}" sh -c '. /etc/os-release && echo ${VERSION_ID}')" >> $GITHUB_OUTPUT
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -67,8 +68,8 @@ jobs:
push: true
pull: true
github-token: ${{ secrets.GITHUB_TOKEN }}
tags: ${{ steps.determine_informations.outputs.values }}
tags: ${{ steps.determine_informations.outputs.tags }}
build-args: |
PLATFORM=${{ inputs.platform }}
BASE_IMAGE=${{ steps.determine_informations.outputs.base }}
DEBIAN_VERSION=${{ steps.debian_version.outputs.debian_version }}
DEBIAN_VERSION=${{ steps.debian_version.outputs.value }}

0 comments on commit b59ad5d

Please sign in to comment.