Skip to content

Commit 502357e

Browse files
authored
Update build.yaml
1 parent 27e42ce commit 502357e

1 file changed

Lines changed: 2 additions & 24 deletions

File tree

.github/workflows/build.yaml

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -15,29 +15,7 @@ env:
1515

1616
jobs:
1717

18-
build:
18+
dummy:
1919
runs-on: ubuntu-latest
20-
container: docker:git
21-
permissions:
22-
contents: read
23-
packages: write
2420
steps:
25-
- uses: actions/checkout@v3
26-
- name: resolve paths-filter error
27-
run: git config --global --add safe.directory /__w/${REPOSITORY}/${REPOSITORY}
28-
- name: detect build file changes
29-
uses: dorny/paths-filter@v2
30-
id: filter
31-
with:
32-
filters: |
33-
buildfiles:
34-
- project/*
35-
- Dockerfile
36-
- requirements.txt
37-
- tests/requirements-test.txt
38-
- name: build & push image to registry
39-
if: steps.filter.outputs.buildfiles == 'true'
40-
run: |
41-
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u $ACCOUNT --password-stdin
42-
docker build -t ghcr.io/${ACCOUNT}/${REPOSITORY} .
43-
docker push ghcr.io/${ACCOUNT}/${REPOSITORY}
21+
- run: echo "hello"

0 commit comments

Comments
 (0)