Skip to content

chore(deps): update dependency ubuntu to v24 #74

chore(deps): update dependency ubuntu to v24

chore(deps): update dependency ubuntu to v24 #74

Workflow file for this run

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