Skip to content

Commit 88bd4e2

Browse files
authored
CI: bump docker actions (#1842)
1 parent 9bb8b93 commit 88bd4e2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/devcontainer.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,21 @@ jobs:
2222
uses: docker/setup-buildx-action@v1
2323

2424
- name: Login to GitHub Container Registry
25-
uses: docker/login-action@v1
25+
uses: docker/login-action@v2
2626
with:
2727
registry: ghcr.io
2828
username: ${{ github.actor }}
2929
password: ${{ secrets.GITHUB_TOKEN }}
3030

3131
- name: Login to Aliyun Registry
32-
uses: docker/login-action@v1
32+
uses: docker/login-action@v2
3333
with:
3434
registry: registry.dp.tech
3535
username: ${{ secrets.DP_HARBOR_USERNAME }}
3636
password: ${{ secrets.DP_HARBOR_PASSWORD }}
3737

3838
- name: Build and Push Container
39-
uses: docker/build-push-action@v2
39+
uses: docker/build-push-action@v4
4040
with:
4141
tags: |
4242
ghcr.io/deepmodeling/abacus-${{ matrix.dockerfile }}:latest

.github/workflows/image.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,21 @@ jobs:
2828
uses: docker/setup-buildx-action@v1
2929

3030
- name: Login to GitHub Container Registry
31-
uses: docker/login-action@v1
31+
uses: docker/login-action@v2
3232
with:
3333
registry: ghcr.io
3434
username: ${{ github.actor }}
3535
password: ${{ secrets.GITHUB_TOKEN }}
3636

3737
- name: Login to Aliyun Registry
38-
uses: docker/login-action@v1
38+
uses: docker/login-action@v2
3939
with:
4040
registry: registry.dp.tech
4141
username: ${{ secrets.DP_HARBOR_USERNAME }}
4242
password: ${{ secrets.DP_HARBOR_PASSWORD }}
4343

4444
- name: Build and Push Container
45-
uses: docker/build-push-action@v2
45+
uses: docker/build-push-action@v4
4646
with:
4747
tags: ${{ steps.meta.outputs.tags }}
4848
file: Dockerfile

0 commit comments

Comments
 (0)