Skip to content

Commit

Permalink
ci: pass tarball as artifact to the Docker workflow
Browse files Browse the repository at this point in the history
Signed-off-by: László Várady <[email protected]>
  • Loading branch information
MrAnno committed Jan 24, 2023
1 parent 695c74f commit 0aea039
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pkg-type:
required: true
type: string # stable / nightly
tarball-artifact:
required: false
type: string

env:
DOCKER_IMAGE_NAME: ghcr.io/axoflow/syslog-ng
Expand All @@ -20,6 +23,13 @@ jobs:
- name: Checkout source
uses: actions/checkout@v3

- name: Download source tarball artifact
if: inputs.tarball-artifact != ''
uses: actions/download-artifact@v3
with:
name: ${{ inputs.tarball-artifact }}
path: apkbuild/axoflow/syslog-ng

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,4 @@ jobs:
needs: build-and-test
with:
pkg-type: nightly
tarball-artifact: source-tarball

0 comments on commit 0aea039

Please sign in to comment.