Skip to content
Open
Show file tree
Hide file tree
Changes from 5 commits
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
6 changes: 3 additions & 3 deletions .github/actions/shared-steps/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@ runs:
- name: Run Image
if: ${{ env.res != 0 || github.event_name == 'workflow_dispatch' }}
shell: bash
run: sudo podman run --rm -ti ${{ env.IMAGE_NAME }} bootc --version
run: sudo podman run --rm -ti ${{ env.IMAGE_NAME }} bootc container lint --fatal-warnings
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm unsure about the use of --fatal-warnings if it will cause things to fail that should pass.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Containerfiles already contain linting, so that can be removed here or there.

Our disregard of the lint warnings hasn't caused major problems yet, so I think we can keep it non-fatal for now. Eventually it may be useful to enable the fatal warnings.


- name: Log in to registry
if: ${{ env.res != 0 || github.event_name == 'workflow_dispatch' }}
if: ${{ (env.res != 0 || github.event_name == 'workflow_dispatch') && github.event_name != 'pull_request' }}
shell: bash
run: sudo podman login ${{ inputs.IMAGE_REGISTRY }} -u ${{ inputs.REGISTRY_USER }} -p ${{ inputs.REGISTRY_PASSWORD }}

- name: Push to registry
if: ${{ env.res != 0 || github.event_name == 'workflow_dispatch' }}
if: ${{ (env.res != 0 || github.event_name == 'workflow_dispatch') && github.event_name != 'pull_request' }}
shell: bash
run: |
# Tag: VERSION_MAJOR.VERSION_MINOR-DATE_STAMP-ARCH
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ jobs:
password: ${{ secrets.REGISTRY_PASSWORD }}

- name: Create and push manifest (docker)
if: github.event_name != 'pull_request'
run: |
# Manifest for both amd64 and arm64
IMAGE_DEST=${{ secrets.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}
Expand Down