Skip to content

Commit

Permalink
moving to multi-arch multi-registry Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
betolink committed Mar 19, 2024
1 parent 948ca16 commit a5948fd
Show file tree
Hide file tree
Showing 7 changed files with 21,798 additions and 1,534 deletions.
74 changes: 0 additions & 74 deletions .circleci/config.yml

This file was deleted.

37 changes: 37 additions & 0 deletions .github/workflows/publish.yml
@@ -0,0 +1,37 @@
name: publish

on:
push:
branches:
- "main"

jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
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 Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: binder
platforms: linux/amd64,linux/arm64
push: true
tags: |
nsidc/tutorials:latest
ghcr.io/nsidc/tutorials:latest
501 changes: 0 additions & 501 deletions binder/conda-linux-64.lock

This file was deleted.

0 comments on commit a5948fd

Please sign in to comment.