Skip to content

Commit

Permalink
Merge pull request numpy#23329 from charris/update-action-versions
Browse files Browse the repository at this point in the history
MAINT: Update actions in gitpod/docker workflows
  • Loading branch information
charris authored Mar 3, 2023
2 parents 0f75954 + e4eacb0 commit 74a1279
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Clone repository
uses: actions/checkout@v3
- name: Lint Docker
uses: brpaz/hadolint-action@v1.2.1
uses: hadolint/hadolint-action@v3
with:
dockerfile: ./tools/gitpod/Dockerfile
- name: Get refs
Expand All @@ -32,15 +32,15 @@ jobs:
echo "sha8=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_OUTPUT
id: getrefs
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2
- name: Cache Docker layers
uses: actions/cache@v3
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: ${{ runner.os }}-buildx-
- name: Login to Docker Hub
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
fetch-depth: 0
- name: Lint Docker
uses: brpaz/hadolint-action@v1.2.1
uses: hadolint/hadolint-action@v3
with:
dockerfile: ./tools/gitpod/gitpod.Dockerfile
- name: Get refs
Expand All @@ -32,15 +32,15 @@ jobs:
echo "sha8=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_OUTPUT
id: getrefs
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2
- name: Cache Docker layers
uses: actions/cache@v3
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: ${{ runner.os }}-buildx-
- name: Login to Docker Hub
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down

0 comments on commit 74a1279

Please sign in to comment.