Skip to content

Commit

Permalink
fix docker login
Browse files Browse the repository at this point in the history
  • Loading branch information
jpe7s committed Sep 30, 2024
1 parent 6562b60 commit 535b8bd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
tags:
- '\d+\.\d+\.\d+'

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}/solana

jobs:
docker:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -36,7 +40,7 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/solana
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build and push Docker image
id: push
Expand All @@ -49,6 +53,6 @@ jobs:
- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}/solana
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true

0 comments on commit 535b8bd

Please sign in to comment.