Skip to content

chore(deps): update ubuntu:22.04 docker digest to a903800 #26

chore(deps): update ubuntu:22.04 docker digest to a903800

chore(deps): update ubuntu:22.04 docker digest to a903800 #26

Workflow file for this run

name: Preview build
on:
pull_request:
types: [labeled, synchronize, opened, reopened]
jobs:
build-and-push:
runs-on: ubuntu-22.04
if: ${{ contains(github.event.pull_request.labels.*.name, 'preview') }}
steps:
- uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GHCR
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
push: true
platforms: linux/amd64
tags: |
ghcr.io/elifesciences/epp-image-server:preview-${{ github.event.number }}