chore(deps): update all non-major dependencies (#1726) #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: curldemo | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'deploy/test-apps/curldemo/**' | |
permissions: # added using https://github.com/step-security/secure-workflows | |
contents: read | |
jobs: | |
curldemo: | |
runs-on: ubuntu-22.04 | |
env: | |
DOCKER_CLI_EXPERIMENTAL: "enabled" | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@951b48540b429070694bc8abd82fd6901eb123ca | |
with: | |
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs | |
- uses: actions/checkout@6d193bf28034eafb982f37bd894289fe649468fc | |
with: | |
fetch-depth: 1 | |
- name: Login to Dockerhub | |
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 | |
with: | |
username: ${{ secrets.DOCKER_USER }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Build and push | |
id: docker_build | |
uses: docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 | |
with: | |
context: ./deploy/test-apps/curldemo/ | |
file: ./deploy/test-apps/curldemo/Dockerfile | |
push: true | |
tags: ${{ secrets.DOCKER_USER }}/k8gb-demo-curl:latest | |