feat: add support for base64 encoded docker password#8
Open
nianyush wants to merge 6 commits into
Open
Conversation
57173f8 to
e3a1c32
Compare
Author
59bf278 to
01d2d1a
Compare
01d2d1a to
1344170
Compare
nianyush
commented
Aug 6, 2025
| } | ||
| } | ||
|
|
||
| githubactions.SetOutput("packages", packagesMatrix.String()) |
Author
There was a problem hiding this comment.
By adding this, we can just run the action with pretend: true for the first time to generate a matrix of packages to be built, and then use that matrix in github workflow to build all those packages in parallel
Author
There was a problem hiding this comment.
Like this
name: Reusable Publish
jobs:
generate-packages:
runs-on: ubuntu-latest
outputs:
packages: ${{ steps.packages.outputs.packages }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Prepare
id: prepare
run: |
mkdir build
- name: Download meta 🔧
uses: nianyush/luet-github-action@docker-password-base64
with:
FINAL_REPO: ${{ inputs.image_repo }}
REPOSITORY_TYPE: docker
downloadAllMeta: true
downloadFromList: false
downloadMeta: true
# renovate: datasource=github-releases depName=mudler/luet
luetVersion: 0.36.0
- name: Generate packages 🔧
uses: nianyush/luet-github-action@docker-password-base64
id: packages
with:
build: true
buildx: true
pretend: true
build:
runs-on: ubuntu-latest
needs: [generate-packages]
strategy:
matrix: ${{ fromJson(needs.generate-packages.outputs.packages) }}
env:
ARCH: ${{ inputs.arch }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Prepare
id: prepare
run: |
mkdir build
- name: Download meta 🔧
uses: nianyush/luet-github-action@docker-password-base64
with:
FINAL_REPO: ${{ inputs.image_repo }}
REPOSITORY_TYPE: docker
downloadAllMeta: true
downloadFromList: false
downloadMeta: true
# renovate: datasource=github-releases depName=mudler/luet
luetVersion: 0.36.0
- name: Build packages 🔧
uses: nianyush/luet-github-action@docker-password-base64
with:
CURRENT_PACKAGE: ${{ matrix.package }}
build: true
buildx: true
platform: linux/${{ inputs.arch }}
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.