Skip to content

Commit a03dc19

Browse files
authored
Update build.yml
1 parent bfd517c commit a03dc19

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ jobs:
2828
run: |
2929
echo "XO_WEB="$(curl -s https://raw.githubusercontent.com/vatesfr/xen-orchestra/master/packages/xo-web/package.json | jq -r ".version") >> $GITHUB_ENV
3030
- name: Checkout
31-
uses: actions/checkout@v4
31+
uses: actions/checkout@v4.1.1
3232
- name: Docker meta
3333
id: meta
34-
uses: docker/metadata-action@v5
34+
uses: docker/metadata-action@v5.2.0
3535
with:
3636
images: |
3737
ghcr.io/${{ env.IMAGE_NAME }}
@@ -53,7 +53,7 @@ jobs:
5353
with:
5454
cosign-release: main
5555
- name: Set up Docker Buildx
56-
uses: docker/setup-buildx-action@v3
56+
uses: docker/setup-buildx-action@v3.0.0
5757
- name: Login to Registry
5858
uses: docker/login-action@v3
5959
with:
@@ -63,7 +63,7 @@ jobs:
6363
if: github.event_name == 'release'
6464
- name: Build and push
6565
id: build-and-push
66-
uses: docker/build-push-action@v5
66+
uses: docker/build-push-action@v5.1.0
6767
with:
6868
context: "."
6969
file: "./Containerfile"
@@ -80,7 +80,6 @@ jobs:
8080
if: github.event_name == 'release'
8181
run: |
8282
cosign sign --yes --key env://COSIGN_PRIVATE_KEY "${TAGS}@${DIGEST}"
83-
rm cosign.key
8483
env:
8584
TAGS: ${{ steps.meta.outputs.tags }}
8685
DIGEST: ${{ steps.build-and-push.outputs.digest }}

0 commit comments

Comments
 (0)