Skip to content

Commit

Permalink
add publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
filippobrizzi committed Jan 31, 2024
1 parent 1e5b48d commit fd77bb3
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@ jobs:
filters: |
docker:
- 'docker/**'
- name: Docker login
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push the image
if: steps.filter.outputs.docker == 'true'
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
run: |
cd ${{github.workspace}}/docker
./build.sh
Expand All @@ -45,13 +46,14 @@ jobs:
filters: |
external:
- 'external/**'
- name: Docker login
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push the image
if: steps.filter.outputs.external == 'true'
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
run: |
cd ${{github.workspace}}/docker
./build_dev.sh
Expand Down

0 comments on commit fd77bb3

Please sign in to comment.