Skip to content

Commit

Permalink
Updated Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kohlerdominik committed Feb 27, 2024
1 parent 5797ebd commit b5f9182
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/make-test-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ jobs:
name: Build and Push
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: docker/login-action@v2
- uses: actions/checkout@v4
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v2
- uses: docker/build-push-action@v5
with:
push: true
context: tests/private-image
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Test code format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
npm install
- run: |
Expand All @@ -23,7 +23,7 @@ jobs:
nginx:
image: nginxdemos/hello:plain-text
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Copy test.sh to executable path
run: |
mkdir -p ~/.local/bin
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
run: test.sh equal "${{ steps.test-options-input.outputs.test-var }}" "bar"

- name: Authorize docker for private image
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down

0 comments on commit b5f9182

Please sign in to comment.