Skip to content

Commit

Permalink
Update action
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandredevely authored Mar 27, 2024
1 parent 5f47a1e commit 562ee91
Showing 1 changed file with 43 additions and 43 deletions.
86 changes: 43 additions & 43 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
nvidia: ${{ steps.setmatrix.outputs.nvidia }}
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.ref_name }}
- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "18.x"

Expand All @@ -31,7 +31,7 @@ jobs:
cat dockerfiles
- name: create artifact dockerfiles
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dockerfiles
path: dockerfiles
Expand All @@ -44,7 +44,7 @@ jobs:
cat templateimages
- name: create artifact template image
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: templateimages
path: templateimages
Expand Down Expand Up @@ -95,21 +95,21 @@ jobs:
- run: echo Run dockerfile ${{ matrix.dockerfile }}
- run: echo tag ${{ env.tag }}
- name: Checkout repository and submodules
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.ref_name }}
submodules: recursive
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build and push ${{ matrix.target }}
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
file: ${{ matrix.dockerfile }}
context: .
Expand All @@ -126,7 +126,7 @@ jobs:
cat ${{ matrix.target }}.md
- name: create artifact md file ${{ matrix.target }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: template.md
path: ${{ matrix.target }}.md
Expand All @@ -142,16 +142,16 @@ jobs:
- run: echo Run ${{ matrix.dockerfile }}
- run: echo tag ${{ env.tag }}
- name: Checkout repository and submodules
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.ref_name }}
submodules: recursive
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
Expand All @@ -161,7 +161,7 @@ jobs:
cat ${{ matrix.dockerfile }}
- name: Build and push ${{ matrix.target }}
# build-args: minimal does not need TAG=${{ env.tag }}
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
file: ${{ matrix.dockerfile }}
context: .
Expand All @@ -173,15 +173,15 @@ jobs:
abcdesktopio/${{ matrix.target }}:${{ env.tag }}
- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4

- name: create md file ${{ matrix.target }}
run: |
node make-docs.js ${{ matrix.source }} ${{ matrix.target }}:${{ env.tag }} ${{ matrix.dockerfile }}
cat ${{ matrix.target }}.md
- name: create artifact md file ${{ matrix.target }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: template.md
path: ${{ matrix.target }}.md
Expand All @@ -197,21 +197,21 @@ jobs:
- run: echo Run dockerfile ${{ matrix.dockerfile }}
- run: echo tag ${{ env.tag }}
- name: Checkout repository and submodules
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
ref: ${{ github.ref_name }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build and push ${{ matrix.target }}
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
file: ${{ matrix.dockerfile }}
context: .
Expand All @@ -224,15 +224,15 @@ jobs:
abcdesktopio/${{ matrix.target }}:${{ env.tag }}
- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4

- name: create md file ${{ matrix.target }}
run: |
node make-docs.js ${{ matrix.source }} ${{ matrix.target }}:${{ env.tag }} ${{ matrix.dockerfile }}
cat ${{ matrix.target }}.md
- name: create artifact md file ${{ matrix.target }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: template.md
path: ${{ matrix.target }}.md
Expand All @@ -244,21 +244,21 @@ jobs:
matrix: ${{ fromJson(needs.job1_init_minimal.outputs.level1) }}
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
ref: ${{ github.ref_name }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build and push ${{ matrix.target }}
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
file: ${{ matrix.dockerfile }}
context: .
Expand All @@ -271,15 +271,15 @@ jobs:
abcdesktopio/${{ matrix.target }}:${{ env.tag }}
- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4

- name: create md file ${{ matrix.target }}
run: |
node make-docs.js ${{ matrix.source }} ${{ matrix.target }}:${{ env.tag }} ${{ matrix.dockerfile }}
cat ${{ matrix.target }}.md
- name: create artifact md file ${{ matrix.target }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: template.md
path: ${{ matrix.target }}.md
Expand All @@ -291,12 +291,12 @@ jobs:
matrix: ${{ fromJson(needs.job1_init_minimal.outputs.level2) }}
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
ref: ${{ github.ref_name }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
Expand All @@ -305,7 +305,7 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build and push ${{ matrix.target }}
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
file: ${{ matrix.dockerfile }}
context: .
Expand All @@ -318,15 +318,15 @@ jobs:
abcdesktopio/${{ matrix.target }}:${{ env.tag }}
- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4

- name: create md file ${{ matrix.target }}
run: |
node make-docs.js ${{ matrix.source }} ${{ matrix.target }}:${{ env.tag }} ${{ matrix.dockerfile }}
cat ${{ matrix.target }}.md
- name: create artifact md file ${{ matrix.target }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: template.md
path: ${{ matrix.target }}.md
Expand All @@ -338,21 +338,21 @@ jobs:
matrix: ${{ fromJson(needs.job1_init_minimal.outputs.level3) }}
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
ref: ${{ github.ref_name }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build and push ${{ matrix.target }}
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
file: ${{ matrix.dockerfile }}
context: .
Expand All @@ -365,15 +365,15 @@ jobs:
abcdesktopio/${{ matrix.target }}:${{ env.tag }}
- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4

- name: create md file ${{ matrix.target }}
run: |
node make-docs.js ${{ matrix.source }} ${{ matrix.target }}:${{ env.tag }} ${{ matrix.dockerfile }}
cat ${{ matrix.target }}.md
- name: create artifact md file ${{ matrix.target }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: template.md
path: ${{ matrix.target }}.md
Expand All @@ -384,7 +384,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v2
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.TOKEN_DISPATCH }}
repository: abcdesktopio/docs
Expand Down

0 comments on commit 562ee91

Please sign in to comment.