Skip to content

Commit

Permalink
test ghcr push
Browse files Browse the repository at this point in the history
  • Loading branch information
rkm committed Mar 26, 2024
1 parent f7aaa0a commit 3788deb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ defaults:
jobs:
freesurfer:
runs-on: ubuntu-22.04
if: false # temp
steps:
- name: checkout
uses: actions/checkout@v4
Expand All @@ -33,6 +34,7 @@ jobs:
docker build .
fsl:
runs-on: ubuntu-22.04
if: false # temp
steps:
- name: checkout
uses: actions/checkout@v4
Expand All @@ -48,3 +50,13 @@ jobs:
df -h
cd software/FSL
docker build .
test:
runs-on: ubuntu-22.04
steps:
- name: build
run: |
set -euxo pipefail
docker pull hello-world:latest
docker tag hello-world:latest ghcr.io/smi/test:latest
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
docker push ghcr.io/smi/test:latest

0 comments on commit 3788deb

Please sign in to comment.