feat: Update uproot to v5.4.0 #171
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build AnalysisBase base images | |
on: | |
push: | |
branches: ["main", "dev"] | |
tags: | |
- "v*.*.*" | |
pull_request: | |
branches: ["main", "dev"] | |
workflow_dispatch: | |
jobs: | |
docker: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Docker meta | |
id: meta | |
uses: docker/[email protected] | |
with: | |
# list of Docker images to use as base name for tags | |
images: | | |
sslhep/analysis-dask-base | |
hub.opensciencegrid.org/usatlas/analysis-dask-base | |
# generate Docker tags based on the following events/attributes | |
tags: | | |
type=schedule | |
type=ref,event=branch | |
type=semver,pattern={{version}} | |
type=sha | |
- name: Set up QEMU | |
uses: docker/[email protected] | |
- name: Set up Docker Buildx | |
uses: docker/[email protected] | |
- name: Login to Docker Hub | |
if: github.event_name != 'pull_request' | |
uses: docker/[email protected] | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Login to Harbor Container Registry | |
if: github.event_name != 'pull_request' | |
uses: docker/[email protected] | |
with: | |
registry: hub.opensciencegrid.org | |
username: ${{ secrets.HARBOR_USERNAME }} | |
password: ${{ secrets.HARBOR_PASSWORD }} | |
- name: Test build | |
if: github.event_name == 'pull_request' | |
uses: docker/[email protected] | |
with: | |
context: . | |
file: docker/Dockerfile | |
load: true | |
push: false | |
tags: ${{ steps.meta.outputs.tags }} | |
labels: ${{ steps.meta.outputs.labels }} | |
- name: List built images | |
if: github.event_name == 'pull_request' | |
run: docker images | |
- name: Build and push | |
if: github.event_name != 'pull_request' | |
uses: docker/[email protected] | |
with: | |
context: . | |
file: docker/Dockerfile | |
push: true | |
tags: ${{ steps.meta.outputs.tags }} | |
labels: ${{ steps.meta.outputs.labels }} | |
- name: Repository Dispatch | |
if: github.event_name != 'pull_request' | |
uses: peter-evans/[email protected] | |
with: | |
token: ${{ secrets.GITOPS_REBUILD_TRIGGER }} | |
repository: usatlas/analysisbase-dask-uc | |
event-type: gitops-analysis-base-trigger | |
client-payload: '{"ref": "${{ github.ref_name }}", "sha": "${{ github.sha }}"}' |