chore(deps): update all non-major dependencies #4
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@6d3c2fe731c8f225990c8018cb71c337c0d9dfcd | |
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@0d4c9c5ea7693da7b068278f7b52bda2a190a446 | |
with: | |
username: ${{ secrets.DOCKER_USER }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Build and push | |
id: docker_build | |
uses: docker/build-push-action@86c2bd00318427a320d2cee5bbc61251df6f647e | |
with: | |
context: ./deploy/test-apps/curldemo/ | |
file: ./deploy/test-apps/curldemo/Dockerfile | |
push: true | |
tags: ${{ secrets.DOCKER_USER }}/k8gb-demo-curl:latest | |