Skip to content

Commit

Permalink
upgrade action dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
WebFreak001 committed Sep 1, 2023
1 parent b4e08d9 commit adabc1f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/run-test-sh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2

- name: Login to DockerHub
if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }}
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}

- name: Build image
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
push: false
load: true
Expand All @@ -56,11 +56,12 @@ jobs:
run: ./test.sh "dlangtour/core-exec:${{ matrix.version }}"

- name: Push image
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
push: ${{ github.event_name == 'push' || github.event_name == 'schedule' }}
load: false
tags: dlangtour/core-exec:${{ matrix.version }}
build-args: |
DLANG_VERSION=${{ matrix.version }}
DLANG_EXEC=${{ matrix.exec }}

0 comments on commit adabc1f

Please sign in to comment.