Skip to content

Update Dockerfile to add watch #22

Update Dockerfile to add watch

Update Dockerfile to add watch #22

name: Run Shared Build and Push Workflow
on:
push:
branches:
- main
- master
paths:
- 'Dockerfile'
- '*.sh'
- '*.pem'
jobs:
build_and_push:
runs-on: ubuntu-latest
environment: foobar
permissions:
contents: read
packages: write # required if push is true
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: See which repo we just cloned
if: ${{ vars.pipeline_debug == 'true' }}
run: ls -lha
shell: bash
- uses: jabez007/aws-kubectl/.github/shared/docker@master
with:
push: true
tag: ${{ vars.AWS_REGION }}_${{ vars.EKS_CLUSTER }}
build-args: |
AWS_REGION=${{ vars.AWS_REGION }}
EKS_CLUSTER=${{ vars.EKS_CLUSTER }}
debug: ${{ vars.pipeline_debug }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}