Skip to content

Build(deps): Bump step-security/harden-runner from 2.10.1 to 2.10.2 (… #823

Build(deps): Bump step-security/harden-runner from 2.10.1 to 2.10.2 (…

Build(deps): Bump step-security/harden-runner from 2.10.1 to 2.10.2 (… #823

Workflow file for this run

name: docker-exodus
on:
push:
branches: [ "master" ]
concurrency:
group: ${{ github.workflow}}-${{ github.head_ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
build-latest:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Docker login
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker build and push
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
with:
context: docker/exodus
push: true
tags: mrbuche/exodus:latest
- name: Delay before pull
run: sleep 234s
test-latest:
needs: build-latest
runs-on: ubuntu-latest
container: mrbuche/exodus
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit
- name: Docker pull and test
run: |
python -c 'import exodus3 as exodus'