Skip to content

Commit

Permalink
Merge pull request #61 from AntonOks/update_test-docker-image_workflow
Browse files Browse the repository at this point in the history
test-docker-image.yml: Update actions/checkout to v4 and...
  • Loading branch information
JJ authored Apr 2, 2024
2 parents dbc5eef + afb9384 commit aa61dfd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
version: ${{ steps.set-version.outputs.version }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- id: set-version
run: |
RAKU_VERSION=$(ls |egrep '^[0-9]{4}.[0-9]{2}$')
RAKU_VERSION=$(ls -A -d * | egrep '^[0-9]{4}.[0-9]{2}$')
echo "::set-output name=version::$RAKU_VERSION"
echo "raku version: $RAKU_VERSION"
- id: set-matrix
run: |
VERSION=$(ls |egrep '^[0-9]{4}.[0-9]{2}$')
VERSION=$(ls -A -d * | egrep '^[0-9]{4}.[0-9]{2}$')
cd $VERSION
LIST_DIR=$(find . -type d|perl -e '
while(<>){
Expand All @@ -46,7 +46,7 @@ jobs:
VERSION: ${{needs.setup.outputs.version}}
VARIANT: ${{ matrix.image_base }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker build . --file $VERSION/$VARIANT/Dockerfile --tag ${GITHUB_REPOSITORY,,}:$GITHUB_SHA
- name: Test docker image with root
Expand Down

0 comments on commit aa61dfd

Please sign in to comment.