Skip to content

test docker auto build #25

test docker auto build

test docker auto build #25

name: deploy-container
on:
push:
branches: [ neuland_new_calibration ]
workflow_dispatch:
jobs:
setup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: 'true'
# - name: Login to Docker Hub
# uses: docker/login-action@v3
# with:
# username: ${{ vars.DOCKER_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}
# - name: Build and push
# uses: docker/build-push-action@v6
# with:
# push: true
# context: util/container
# tags: ${{ vars.DOCKER_USERNAME }}/r3bdev:test
- name: build apptainer
run: |
sudo add-apt-repository -y ppa:apptainer/ppa
sudo apt-get update
sudo apt-get install -y apptainer
# sudo apptainer build --notest test.sif ./util/container/test.def
sudo apptainer remote add --global --no-login SylabsCloud cloud.sycloud.io
sudo apptainer remote login -p ${{ secrets.SYLABS_TOKEN }} SylabsCloud
sudo apptainer remote list
sudo apptainer remote status
sudo apptainer push -D "For testing" -U test.sif library://${{ vars.SYLABS_USERNAME }}/r3bdev/r3broot:test