Skip to content
View Huan47's full-sized avatar
💭
I may be slow to respond. gh repo clone Huan47/terminal
💭
I may be slow to respond. gh repo clone Huan47/terminal

Block or report Huan47

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
Huan47/README.md
  • 👋 Hi, I’m @Huan47
  • 👀 I’m interested in ...
  • 🌱 I’m currently learning ...
  • 💞️ I’m looking to collaborate on ...
  • 📫 How to reach me ...
  • 😄 Pronouns: ...
  • ⚡ Fun fact: ...

Check dist/ name: build-attested-image

on: push: branches: [main]

jobs: build: runs-on: ubuntu-latest permissions: id-token: write packages: write contents: read attestations: write env: REGISTRY: ghcr.io IMAGE_NAME: ${{ github.repository }}

steps:
  - name: Checkout
    uses: actions/checkout@v4
  - name: Login to GitHub Container Registry
    uses: docker/login-action@v3
    with:
      registry: ${{ env.REGISTRY }}
      username: ${{ github.actor }}
      password: ${{ secrets.GITHUB_TOKEN }}
  - name: Build and push image
    id: push
    uses: docker/[email protected]
    with:
      context: .
      push: true
      tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
  - name: Attest
    uses: actions/attest-build-provenance@v1
    id: attest
    with:
      subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
      subject-digest: ${{ steps.push.outputs.digest }}
      push-to-registry: true

@Huan47's activity is private