Skip to content

Commit d67d843

Browse files
authored
Merge pull request #8 from lystopad/main
Update GitHub Actions runner and login action
2 parents c65ea58 + eaeed44 commit d67d843

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
@@ -46,11 +46,14 @@ jobs:
4646
strategy:
4747
matrix:
4848
#runner: [ubuntu-24.04-arm, ubuntu-24.04]
49-
runner: [ ubuntu-24.04]
49+
runner: [ ubuntu-latest ]
5050

5151
steps:
5252
- name: Login to Docker Hub
53-
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 ## v3.3.0
53+
if: |
54+
github.repository == 'erigontech/devops-testing-workflows' &&
55+
(github.event_name != 'pull_request' || !github.event.pull_request.head.repo.fork)
56+
uses: docker/login-action@v3
5457
with:
5558
username: ${{ secrets.ORG_DOCKERHUB_ERIGONTECH_USERNAME }}
5659
password: ${{ secrets.ORG_DOCKERHUB_ERIGONTECH_TOKEN }}
@@ -84,12 +87,6 @@ jobs:
8487
8588
echo "Results:\n$(echo $RESULT | jq .)"
8689
87-
- name: Conditional step - testing
88-
if: |
89-
github.repository == 'erigontech/devops-testing-workflows' &&
90-
(github.event_name != 'pull_request' || !github.event.pull_request.head.repo.fork)
91-
run: echo condition github.event_name="${github.event_name}" and github.event.pull_request.head.repo=${github.event.pull_request.head.repo}
92-
9390
- name: Debug output
9491
env:
9592
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)