Skip to content

Commit 71eb7ad

Browse files
committed
ci
1 parent e33c749 commit 71eb7ad

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
workflow_dispatch:
99
inputs:
1010
version:
11-
description: 'Version e.g 0.1'
11+
description: 'Version to assign to the images, e.g 0.1'
1212
required: false
1313
type: string
1414
default: 'latest'
@@ -58,7 +58,7 @@ jobs:
5858
swap-storage: true
5959

6060
- name: Clone
61-
uses: actions/checkout@v3
61+
uses: actions/checkout@v6
6262

6363
- name: Set version of the images
6464
run: |
@@ -74,26 +74,26 @@ jobs:
7474
run: echo "ghcr.io/bnosac/blackbar-${{ matrix.config.tag }}:${{ env.VERSION }}"
7575

7676
- name: Set up QEMU
77-
uses: docker/setup-qemu-action@v2
77+
uses: docker/setup-qemu-action@v4
7878

7979
- name: Set up Docker Buildx
80-
uses: docker/setup-buildx-action@v2
80+
uses: docker/setup-buildx-action@v4
8181

8282
# - name: Login to DockerHub
83-
# uses: docker/login-action@v2
83+
# uses: docker/login-action@v4
8484
# with:
8585
# username: ${{ secrets.DOCKERHUB_USERNAME }}
8686
# password: ${{ secrets.DOCKERHUB_TOKEN }}
8787

8888
- name: Login to GHCR (GitHub Packages)
89-
uses: docker/login-action@v2
89+
uses: docker/login-action@v4
9090
with:
9191
registry: ghcr.io
9292
username: ${{ github.actor }}
9393
password: ${{ secrets.GITHUB_TOKEN }}
9494

9595
# - name: Login to datatailor
96-
# uses: docker/login-action@v2
96+
# uses: docker/login-action@v4
9797
# with:
9898
# registry: registry.datatailor.be
9999
# username: ${{ secrets.DATATAILOR_REGISTRY_USER }}
@@ -112,7 +112,7 @@ jobs:
112112
# # huggingface-cli whoami
113113

114114
- name: Build and push ghcr.io
115-
uses: docker/build-push-action@v5
115+
uses: docker/build-push-action@v7
116116
with:
117117
context: ${{ matrix.config.context }}
118118
push: ${{ github.event_name == 'workflow_dispatch' }}
@@ -125,15 +125,15 @@ jobs:
125125
# HF_PASSWORD=${{ secrets.HF_PASSWORD }}
126126

127127
# - name: Build and push Dockerhub
128-
# uses: docker/build-push-action@v5
128+
# uses: docker/build-push-action@v7
129129
# with:
130130
# context: ${{ matrix.config.context }}
131131
# push: ${{ github.event_name == 'workflow_dispatch' }}
132132
# tags: "bnosac/blackbar-${{ matrix.config.tag }}:${{ env.VERSION }}"
133133
# file: ${{ matrix.config.dockerfile }}
134134

135135
# - name: Build and push registry.datatailor.be
136-
# uses: docker/build-push-action@v5
136+
# uses: docker/build-push-action@v7
137137
# with:
138138
# context: ${{ matrix.config.context }}
139139
# push: ${{ github.event_name == 'workflow_dispatch' }}

0 commit comments

Comments
 (0)