Skip to content

Commit

Permalink
update github actions version
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandredevely authored Feb 2, 2024
1 parent 30de916 commit 15ded27
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
dockerfiles=$(ls -l *.d | grep '^-' | awk -F ' ' '{print $9}' | jq -R -s -c 'split("\n") | map(select(length > 0))')
echo "dockerfiles=$dockerfiles"
echo "::set-output name=matrix::$dockerfiles"
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: artifact-dockerfiles
path: "*.d"
Expand All @@ -71,7 +71,7 @@ jobs:
ref: ${{ github.head_ref }}

# overwrite previous Dockerfiles
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: artifact-dockerfiles

Expand All @@ -82,13 +82,13 @@ jobs:
cat ${{ matrix.path }}
- 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 @@ -104,7 +104,7 @@ jobs:
env:
image: ${{ matrix.path }}
imagetag: ${{ github.ref_name || 'main' }}
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
file: ${{ env.image }}
context: .
Expand Down Expand Up @@ -171,7 +171,7 @@ jobs:
- name: generate MarkDown files
run: node make-docs.js --release "${{ github.head_ref }}"

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: artifact-application-md-files
path: "*.md"
Expand Down

0 comments on commit 15ded27

Please sign in to comment.