chore(deps): update all non-major dependencies (#1659) #5
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@f0db2aa8a570959027d6be2a227028ad19fd9e8f | |
with: | |
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
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@a8d35412fb758de9162fd63e3fa3f0942bdedb4d | |
with: | |
context: ./deploy/test-apps/curldemo/ | |
file: ./deploy/test-apps/curldemo/Dockerfile | |
push: true | |
tags: ${{ secrets.DOCKER_USER }}/k8gb-demo-curl:latest | |