complement feature vector; upload artifacts
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
12
.github/workflows/publish.yml
vendored
12
.github/workflows/publish.yml
vendored
@@ -36,16 +36,16 @@ on:
|
||||
type: string
|
||||
default: '[]'
|
||||
description: Matrix inclusions
|
||||
docker_id:
|
||||
docker_repo:
|
||||
type: string
|
||||
description: DockerHub ID
|
||||
description: DockerHub Repository
|
||||
secrets:
|
||||
ghcr_token:
|
||||
dockerhub_token:
|
||||
|
||||
jobs:
|
||||
containers:
|
||||
if: ${{ !failure() && !cancelled() && inputs.docker_id }}
|
||||
if: ${{ !failure() && !cancelled() && inputs.docker_repo }}
|
||||
name: Publish containers
|
||||
runs-on: ${{matrix.machine}}
|
||||
permissions: write-all
|
||||
@@ -77,7 +77,7 @@ jobs:
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: docker.io
|
||||
username: ${{ inputs.docker_id }}
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.dockerhub_token }}
|
||||
|
||||
- name: Bake
|
||||
@@ -93,10 +93,10 @@ jobs:
|
||||
machine: ${{matrix.machine}}
|
||||
acct: ${{github.actor}}
|
||||
repo: ${{github.repository}}
|
||||
docker_repo: ${{inputs.docker_id}}
|
||||
docker_repo: ${{inputs.docker_repo}}
|
||||
|
||||
run: |
|
||||
docker/bake.sh ${{matrix.bake_target}}
|
||||
docker/bake.sh "${{matrix.bake_target}}"
|
||||
|
||||
packages:
|
||||
if: ${{ !failure() && !cancelled() && contains(fromJSON(inputs.feat_sets), fromJSON('["all"]')[0]) }}
|
||||
|
||||
Reference in New Issue
Block a user