Skip to content

Commit df70693

Browse files
chore: Update Docker GitHub Actions to Dependabot bumped versions (#1906)
* Apply Dependabot bumps for: - docker/setup-qemu-action from 1 to 2. - docker/login-action from 1 to 2. - docker/setup-buildx-action from 1 to 2. - docker/build-push-action from 2 to 3. Signed-off-by: dependabot[bot] <support@github.com>
1 parent 4acfda2 commit df70693

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/docker.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,29 +50,29 @@ jobs:
5050
echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
5151
5252
- name: Set up QEMU
53-
uses: docker/setup-qemu-action@v1
53+
uses: docker/setup-qemu-action@v2
5454

5555
- name: Set up Docker Buildx
56-
uses: docker/setup-buildx-action@v1
56+
uses: docker/setup-buildx-action@v2
5757

5858
- name: Login to DockerHub
5959
if: github.event_name != 'pull_request'
60-
uses: docker/login-action@v1
60+
uses: docker/login-action@v2
6161
with:
6262
username: ${{ secrets.DOCKERHUB_USERNAME }}
6363
password: ${{ secrets.DOCKERHUB_TOKEN }}
6464

6565
- name: Login to GitHub Container Registry
6666
if: github.event_name != 'pull_request'
67-
uses: docker/login-action@v1
67+
uses: docker/login-action@v2
6868
with:
6969
registry: ghcr.io
7070
username: ${{ github.repository_owner }}
7171
password: ${{ secrets.GITHUB_TOKEN }}
7272

7373
- name: Test build
7474
id: docker_build_test
75-
uses: docker/build-push-action@v2
75+
uses: docker/build-push-action@v3
7676
with:
7777
context: .
7878
file: docker/Dockerfile
@@ -110,7 +110,7 @@ jobs:
110110
# every PR will trigger a push event on master, so check the push event is actually coming from master
111111
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'scikit-hep/pyhf'
112112
id: docker_build_latest
113-
uses: docker/build-push-action@v2
113+
uses: docker/build-push-action@v3
114114
with:
115115
context: .
116116
file: docker/Dockerfile
@@ -124,7 +124,7 @@ jobs:
124124
- name: Build and publish to registry with release tag
125125
if: github.event_name == 'release' && github.event.action == 'published' && github.repository == 'scikit-hep/pyhf'
126126
id: docker_build_release
127-
uses: docker/build-push-action@v2
127+
uses: docker/build-push-action@v3
128128
with:
129129
context: .
130130
file: docker/Dockerfile

0 commit comments

Comments
 (0)