feat: replace ACR and MCR with GHCR #121
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Retina Image | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
permissions: | |
actions: read | |
contents: read | |
deployments: read | |
packages: none | |
pull-requests: write | |
security-events: write | |
issues: write | |
jobs: | |
test-image: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "^1.21" | |
- name: Make Retina Test image | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number }} | |
run: | | |
make retina-test-image IMAGE_NAMESPACE=${{ github.repository }} PLATFORM=linux/amd64 | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: coverage-files | |
path: ./coverage* |