Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish Docker Image To GitHub Container Registry (ghcr.io) #5118

Merged
merged 16 commits into from
Apr 13, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Use the inputs context so that boolean type is correctly kept
cderv committed Apr 13, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 7eadf15b7202b0172678d4c9b670a7e01185720a
10 changes: 5 additions & 5 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -411,7 +411,7 @@ jobs:
quarto --version

publish-release:
if: ${{ github.event.inputs.publish-release }}
if: ${{ inputs.publish-release }}
runs-on: ubuntu-latest
needs:
[
@@ -443,8 +443,8 @@ jobs:
release_name: ${{needs.configure.outputs.release}}
body: |
${{ needs.configure.outputs.changes }}
draft: ${{ github.event.inputs.draft }}
prerelease: ${{ github.event.inputs.pre-release }}
draft: ${{ inputs.draft }}
prerelease: ${{ inputs.pre-release }}

- name: Attach Source Tarball
id: attach-source-tarball
@@ -622,7 +622,7 @@ jobs:
asset_content_type: text/plain

docker-push:
if: ${{ github.event.inputs.publish-release }}
if: ${{ inputs.publish-release }}
runs-on: ubuntu-latest
needs: [configure, publish-release]
steps:
@@ -637,4 +637,4 @@ jobs:
username: ${{ github.actor }}
org: ${{ github.repository_owner }}
name: quarto
daily: ${{ github.event.inputs.pre-release }}
daily: ${{ inputs.pre-release }}