Skip to content

Commit

Permalink
test push fsl
Browse files Browse the repository at this point in the history
  • Loading branch information
rkm committed Mar 26, 2024
1 parent 3788deb commit 7ff2bdb
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ jobs:
docker build .
fsl:
runs-on: ubuntu-22.04
if: false # temp
steps:
- name: checkout
uses: actions/checkout@v4
Expand All @@ -49,14 +48,7 @@ jobs:
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
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
img="ghcr.io/smi/fsl:$(grep FSL_VERSION= Dockerfile | cut -d'"' -f2)"
docker build . --tag "$img"
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
docker push ghcr.io/smi/test:latest
docker push "$img"

0 comments on commit 7ff2bdb

Please sign in to comment.