Skip to content

test: add e2e docker image #2

test: add e2e docker image

test: add e2e docker image #2

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@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ghcr.io/${{ github.repository }}-e2e-linux:latest