Skip to content

Commit

Permalink
add entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyLadanov committed Oct 26, 2023
1 parent b10fc52 commit b0c83ca
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,12 @@ RUN apt-get update && \
-y && \
rm -rf /var/cache/apt


ADD entrypoint.sh /entrypoint.sh

RUN chmod +x /entrypoint.sh

ENTRYPOINT [ "/entrypoint.sh" ]



2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v3
- name: make
uses: embedd-actions/arm-gcc-ci@v1
uses: embedd-actions/arm-gcc-ci@v2
with:
command: make --directory Release all
Expand Down
4 changes: 1 addition & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ inputs:
default: arm-none-eabi-gcc --version
runs:
using: 'docker'
image: 'docker://sergeyladanov/arm-gcc:v1'
image: 'docker://sergeyladanov/arm-gcc:v2'
args:
- /bin/sh
- -c
- ${{ inputs.command }}

3 changes: 3 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

exec $@

0 comments on commit b0c83ca

Please sign in to comment.