feat(ci): unity in e2e environment #21
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: Publish e2e images | |
on: [pull_request] | |
env: | |
REGISTRY: ghcr.io | |
IMAGE_NAME: e2e-${{ github.repository }} | |
jobs: | |
publish_e2e_images: | |
runs-on: ${{ matrix.os }}-latest | |
permissions: | |
contents: read | |
packages: write | |
attestations: write | |
id-token: write | |
strategy: | |
matrix: | |
os: | |
- ubuntu | |
- windows | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Build and push Docker image | |
uses: mr-smithers-excellent/docker-build-push@v6 | |
with: | |
image: e2e-${{matrix.os}} | |
dockerfile: docker/e2e/${{matrix.os}}/Dockerfile | |
registry: ${{ env.REGISTRY }} | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} |