Skip to content

test: add e2e docker image #7

test: add e2e docker image

test: add e2e docker image #7

name: Publish Docker e2e.linux image
on: pull_request
jobs:
push_to_registry:
name: Push Docker image to package registry
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
file: ./docker/e2e.linux.Dockerfile
push: true
tags: ghcr.io/${{ github.repository }}-e2e-linux:latest