Periodic Tests review: Fix 53 54 (#240) #362
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: Build test OCI Image | |
on: | |
push: | |
branches: | |
- main | |
- fix-bun | |
env: | |
REGISTRY: ghcr.io | |
IMAGE_NAME: ${{ github.repository }} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Login to Github Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ${{ env.REGISTRY }} | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: "Build and push OCI image, tag: tests" | |
uses: docker/[email protected] | |
with: | |
context: . | |
push: true | |
file: oci/tests.Containerfile | |
tags: | | |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:tests | |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:tests-${{github.sha}} | |