Add duckdb (#578) #170
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
# Re-tag current image:master with image:TAG and image:latest | |
# tags can be anything, but typically calver string (2024.07.02) | |
name: Publish | |
on: | |
push: | |
tags: | |
- '*' | |
env: | |
DOCKER_ORG: pangeo | |
GITHUB_REF: ${{ github.ref }} | |
jobs: | |
matrix-build: | |
strategy: | |
fail-fast: false | |
matrix: | |
IMAGE: [base-image, base-notebook, pangeo-notebook, ml-notebook, pytorch-notebook] | |
name: ${{ matrix.IMAGE }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set Job Environment Variables | |
run: | | |
TAG="${GITHUB_REF##*/}" | |
echo "TAG=${TAG}" >> $GITHUB_ENV | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKERHUB_USER }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Login to Quay.io | |
uses: docker/login-action@v3 | |
with: | |
registry: quay.io | |
username: ${{ secrets.QUAY_USER }} | |
password: ${{ secrets.QUAY_TOKEN }} | |
- name: Create New DockerHub Tags | |
run: | | |
docker buildx imagetools create ${DOCKER_ORG}/${{ matrix.IMAGE }}:master \ | |
-t ${DOCKER_ORG}/${{ matrix.IMAGE }}:latest \ | |
-t ${DOCKER_ORG}/${{ matrix.IMAGE }}:${TAG} | |
- name: Create New Quay.io Tags | |
run: | | |
docker buildx imagetools create quay.io/${DOCKER_ORG}/${{ matrix.IMAGE }}:master \ | |
-t quay.io/${DOCKER_ORG}/${{ matrix.IMAGE }}:latest \ | |
-t quay.io/${DOCKER_ORG}/${{ matrix.IMAGE }}:${TAG} |