Skip to content

Commit

Permalink
ci: manual trigger for version and changelog job
Browse files Browse the repository at this point in the history
  • Loading branch information
Coenraad Human committed May 27, 2024
1 parent 499674e commit 06bb8e1
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 20 deletions.
14 changes: 0 additions & 14 deletions .docker/bash-entrypoint.sh

This file was deleted.

2 changes: 1 addition & 1 deletion .docker/gib-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/real-bash
#!/usr/bin/env bash

# Some pipelines insist on running the entrypoint as root inside the container
# even though when a non-privileged runs it on their own files. The below checks
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/update-version-changelog.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Update Version and Changelog

on:
workflow_dispatch:
push:
branches:
- main
Expand All @@ -26,7 +27,7 @@ jobs:
uses: addnab/docker-run-action@v3
with:
image: ghcr.io/coenraadhuman/gib:latest
shell: bash
shell: /bin/bash
options: -v ${{ github.workspace }}:/app
run : |
echo "====================="
Expand Down
4 changes: 0 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ RUN \

COPY --from=builder /usr/bin/gib /usr/bin/gib
COPY --from=builder /build/.docker/gib-entrypoint.sh /usr/bin/gib-entrypoint.sh
COPY --from=builder /build/.docker/bash-entrypoint.sh /usr/bin/bash-entrypoint.sh

# Run bash with the same Linux privilege as the mounted repository:
RUN cd /bin && mv bash real-bash && ln -s /usr/bin/bash-entrypoint.sh bash

WORKDIR /app

Expand Down

0 comments on commit 06bb8e1

Please sign in to comment.