diff --git a/.github/workflows/deploy_testnet.yml b/.github/workflows/deploy_testnet.yml index 1931f4f..7404cd9 100644 --- a/.github/workflows/deploy_testnet.yml +++ b/.github/workflows/deploy_testnet.yml @@ -23,6 +23,7 @@ jobs: permissions: contents: read id-token: write + packages: write steps: - name: checkout the source code @@ -33,7 +34,7 @@ jobs: - name: login to ghcr id: ghcr - uses: docker/login-action@v3 + uses: docker/login-action@v6 with: registry: ${{ env.REGISTRY }} username: ${{ github.repository_owner }} diff --git a/Dockerfile b/Dockerfile index ca46acd..356b418 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # Copyright 2020 ChainSafe Systems # SPDX-License-Identifier: LGPL-3.0-only -FROM alpine as alpine +FROM alpine AS alpine RUN apk --no-cache add ca-certificates FROM golang:1.19 AS builder @@ -17,5 +17,5 @@ COPY --from=builder /spectre ./ RUN chmod +x ./spectre RUN mkdir -p /mount COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ -LABEL org.opencontainers.image.source https://github.com/sprintertech/spectre-node +LABEL org.opencontainers.image.source=https://github.com/sprintertech/spectre-node ENTRYPOINT ["./spectre"]