Skip to content

Commit d37a83b

Browse files
committed
Update path and lint
1 parent c4859ea commit d37a83b

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/_containerTemplate.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ on:
3232

3333
jobs:
3434
deployment:
35-
name: Function App Deploy
35+
name: Container Build & Push
3636
runs-on: ubuntu-latest
3737
continue-on-error: false
3838
environment: ${{ inputs.environment }}
@@ -50,12 +50,12 @@ jobs:
5050
if: github.event_name != 'pull_request'
5151
with:
5252
cosign-release: 'v2.2.0'
53-
53+
5454
# Install QEMU
5555
- name: Set up QEMU
5656
id: install_qemu
5757
uses: docker/setup-qemu-action@v3
58-
58+
5959
# Install BuildKit
6060
- name: Install Buildx
6161
id: install_buildx
@@ -91,7 +91,7 @@ jobs:
9191
uses: docker/build-push-action@v5.0.0
9292
with:
9393
context: ${{ inputs.working_directory }}
94-
file: ./Dockerfile
94+
file: ${{ inputs.working_directory }}/Dockerfile
9595
push: ${{ github.event_name != 'pull_request' }}
9696
tags: ${{ steps.metadata.outputs.tags }}
9797
labels: ${{ steps.metadata.outputs.labels }}

.github/workflows/functionApp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
with:
2222
python_version: "3.10"
2323
function_directory: "./code/function"
24-
24+
2525
function_container:
2626
uses: ./.github/workflows/_containerTemplate.yml
2727
name: "Function App Container"

code/function/.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
local.settings.json
1+
local.settings.json

code/function/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ ENV AzureWebJobsScriptRoot=/home/site/wwwroot \
88
COPY requirements.txt /
99
RUN pip install -r /requirements.txt
1010

11-
COPY . /home/site/wwwroot
11+
COPY . /home/site/wwwroot

0 commit comments

Comments
 (0)