From 3788debb3585b9ce71827b944f9668933c6b4a35 Mon Sep 17 00:00:00 2001 From: Ruairidh MacLeod Date: Tue, 26 Mar 2024 12:31:57 +0000 Subject: [PATCH] test ghcr push --- .github/workflows/main.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index e54ea03..b64c4bb 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -16,6 +16,7 @@ defaults: jobs: freesurfer: runs-on: ubuntu-22.04 + if: false # temp steps: - name: checkout uses: actions/checkout@v4 @@ -33,6 +34,7 @@ jobs: docker build . fsl: runs-on: ubuntu-22.04 + if: false # temp steps: - name: checkout uses: actions/checkout@v4 @@ -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