diff --git a/.github/workflows/apptainer.yml b/.github/workflows/apptainer.yml
index bc1e5cba4f3fcc5512c97ab57232fea1983f4e6b..9191ecc50d0abfc4b61102802a5c3e0aa8ffecae 100644
--- a/.github/workflows/apptainer.yml
+++ b/.github/workflows/apptainer.yml
@@ -1,19 +1,18 @@
-name: Publish Singularity image
+name: Build and publish apptainer image
 
-# Controls when the action will run.
 on:
-  # Triggers the workflow on push or pull request events but only for the main branch
-  create:
+  push:
+    branches:
+      - mk-singularity
 
 jobs:
   build:
-    if: ${{ startsWith(github.ref, 'refs/tags/v') }}
-    name: Build
-    runs-on: ubuntu-18.04
+    name: build
+    runs-on: ubuntu-20.04
     strategy:
       matrix:
         singularity_version:
-          - '3.5.3'
+          - '3.8.1'
     container:
       image: quay.io/singularity/singularity:v${{ matrix.singularity_version }}
       options: --privileged
@@ -35,14 +34,13 @@ jobs:
            ls
        fi
 
-  deploy:
-    if: ${{ startsWith(github.ref, 'refs/tags/v') }}
-    name: Deploy
-    runs-on: ubuntu-18.04
+  publish:
+    name: publish
+    runs-on: ubuntu-20.04
     strategy:
       matrix:
         singularity_version:
-          - '3.5.3'
+          - '3.8.1'
     container:
       image: quay.io/singularity/singularity:v${{ matrix.singularity_version }}
       options: --privileged
@@ -62,4 +60,4 @@ jobs:
     - name: Deploy Container
       run: |
         sudo pip3 install sregistry
-        SREGISTRY_CLIENT=registry sregistry push --name cylon-x/lcsb-biocore cobrexa.sif
\ No newline at end of file
+        SREGISTRY_CLIENT=registry sregistry push --name cylon-x/lcsb-biocore cobrexa.sif