Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
torchiaf committed Jan 3, 2025
1 parent a485956 commit a2b3463
Showing 1 changed file with 29 additions and 24 deletions.
53 changes: 29 additions & 24 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,18 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Run Build and Publish Docker image
id: devices
uses: ./.github/actions/docker-push
with:
registry: ${{ env.REGISTRY }}
repository_lc: ${{ env.REPO_LC }}
token: ${{ secrets.GITHUB_TOKEN }}
image-name: device/${{ matrix.device }}
tag-name: ${{ github.ref_name }}-${{ matrix.module }}
working-directory: modules/${{ matrix.module }}/devices/${{ matrix.device }}
file: modules/${{ matrix.module }}/devices/${{ matrix.device }}/Dockerfile
platforms: linux/arm64
# - name: Run Build and Publish Docker image
# id: devices
# uses: ./.github/actions/docker-push
# with:
# registry: ${{ env.REGISTRY }}
# repository_lc: ${{ env.REPO_LC }}
# token: ${{ secrets.GITHUB_TOKEN }}
# image-name: device/${{ matrix.device }}
# tag-name: ${{ github.ref_name }}-${{ matrix.module }}
# working-directory: modules/${{ matrix.module }}/devices/${{ matrix.device }}
# file: modules/${{ matrix.module }}/devices/${{ matrix.device }}/Dockerfile
# platforms: linux/arm64

build-and-push-modules:
runs-on: ubuntu-latest
Expand All @@ -86,15 +86,20 @@ jobs:
- name: Generate Module Dockerfile
shell: sh
run: sh ./scripts/generate-module-dockerfile.sh ${{ matrix.module }} ${{ steps.run_tests.outputs.devices }} ${{ env.REGISTRY }} ${{ github.repository_owner }} ${{ env.REPO_LC }} ${{ github.ref_name }}
- name: Run Build and Publish Docker image
id: modules
uses: ./.github/actions/docker-push
with:
registry: ${{ env.REGISTRY }}
repository_lc: ${{ env.REPO_LC }}
token: ${{ secrets.GITHUB_TOKEN }}
image-name: module/${{ matrix.module }}
tag-name: ${{ github.ref_name }}
working-directory: modules
file: Dockerfile
platforms: linux/arm64

- name: Print
shell: sh
run: cat ./Dockerfile

# - name: Run Build and Publish Docker image
# id: modules
# uses: ./.github/actions/docker-push
# with:
# registry: ${{ env.REGISTRY }}
# repository_lc: ${{ env.REPO_LC }}
# token: ${{ secrets.GITHUB_TOKEN }}
# image-name: module/${{ matrix.module }}
# tag-name: ${{ github.ref_name }}
# working-directory: modules
# file: ./Dockerfile
# platforms: linux/arm64

0 comments on commit a2b3463

Please sign in to comment.