Skip to content

Commit eaeed44

Browse files
authored
Update GitHub Actions runner and login action
1 parent 390d01a commit eaeed44

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/testing-vars.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,14 @@ jobs:
4545
strategy:
4646
matrix:
4747
#runner: [ubuntu-24.04-arm, ubuntu-24.04]
48-
runner: [ ubuntu-24.04]
48+
runner: [ ubuntu-latest ]
4949

5050
steps:
5151
- name: Login to Docker Hub
52-
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 ## v3.3.0
52+
if: |
53+
github.repository == 'erigontech/devops-testing-workflows' &&
54+
(github.event_name != 'pull_request' || !github.event.pull_request.head.repo.fork)
55+
uses: docker/login-action@v3
5356
with:
5457
username: ${{ secrets.ORG_DOCKERHUB_ERIGONTECH_USERNAME }}
5558
password: ${{ secrets.ORG_DOCKERHUB_ERIGONTECH_TOKEN }}
@@ -83,12 +86,6 @@ jobs:
8386
8487
echo "Results:\n$(echo $RESULT | jq .)"
8588
86-
- name: Conditional step - testing
87-
if: |
88-
github.repository == 'erigontech/devops-testing-workflows' &&
89-
(github.event_name != 'pull_request' || !github.event.pull_request.head.repo.fork)
90-
run: echo condition github.event_name="${github.event_name}" and github.event.pull_request.head.repo=${github.event.pull_request.head.repo}
91-
9289
- name: Debug output
9390
env:
9491
LOCAL_DEBUG1: ${{ github.ref_name == 'main' && format('{0}{1}{2}', 'Input variable skip_tests ', ' set to value ', inputs.skip_tests) || inputs.skip_tests }}

0 commit comments

Comments
 (0)