Skip to content

Commit a5948fd

Browse files
committed
moving to multi-arch multi-registry Docker
1 parent 948ca16 commit a5948fd

File tree

7 files changed

+21798
-1534
lines changed

7 files changed

+21798
-1534
lines changed

.circleci/config.yml

Lines changed: 0 additions & 74 deletions
This file was deleted.

.github/workflows/publish.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: publish
2+
3+
on:
4+
push:
5+
branches:
6+
- "main"
7+
8+
jobs:
9+
docker:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
- name: Set up QEMU
15+
uses: docker/setup-qemu-action@v3
16+
- name: Set up Docker Buildx
17+
uses: docker/setup-buildx-action@v3
18+
- name: Login to Docker Hub
19+
uses: docker/login-action@v3
20+
with:
21+
username: ${{ secrets.DOCKERHUB_USER }}
22+
password: ${{ secrets.DOCKERHUB_PASS }}
23+
- name: Login to GitHub Container Registry
24+
uses: docker/login-action@v3
25+
with:
26+
registry: ghcr.io
27+
username: ${{ github.repository_owner }}
28+
password: ${{ secrets.GITHUB_TOKEN }}
29+
- name: Build and push
30+
uses: docker/build-push-action@v5
31+
with:
32+
context: binder
33+
platforms: linux/amd64,linux/arm64
34+
push: true
35+
tags: |
36+
nsidc/tutorials:latest
37+
ghcr.io/nsidc/tutorials:latest

binder/conda-linux-64.lock

Lines changed: 0 additions & 501 deletions
This file was deleted.

0 commit comments

Comments
 (0)