Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
7 changes: 6 additions & 1 deletion .github/workflows/buildah.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,12 @@ jobs:
extra-args: --squash

- name: Push to registry
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
# Auto-deploy when an image change pushes to main, OR run manually from
# the Actions pane via workflow_dispatch (which can target a specific
# image via the `image` input).
if: |
(github.event_name == 'push' && github.ref == 'refs/heads/main') ||
github.event_name == 'workflow_dispatch'
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ matrix.image }}
Expand Down
2 changes: 1 addition & 1 deletion gh-cli/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN apk add --no-cache github-cli bash \
&& adduser -D -u 1000 gh \
&& rm -rf /var/cache/apk/* /tmp/* /root/.cache

USER gh
USER 1000
WORKDIR /home/gh

ENTRYPOINT ["/bin/bash"]
Loading