Skip to content

fix uproot version to <4.2.4 #13

fix uproot version to <4.2.4

fix uproot version to <4.2.4 #13

# https://docs.github.com/en/actions/publishing-packages/publishing-docker-images
name: DL3-IRFs Docker Image
on:
push:
tags:
- 'v*'
pull_request:
branches: ["main"]
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build-dl3-irf-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
path: 'Converters'
- name: Log in to the Container registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
tags: |
type=ref,event=pr,suffix=-dl3-irfs
type=semver,pattern={{major}}.{{minor}}.{{patch}},suffix=-dl3-irfs
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
file: ./Converters/DL3-IRFs/Dockerfile
tags: ${{ steps.meta.outputs.tags }}-dl3-irfs
labels: ${{ steps.meta.outputs.labels }}-dl3-irfs