diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml
index 49d7059f28e2966bea4011d5256696d756ccc532..16f4a368b1dc81eb4085e2d692f8a08f0b718869 100644
--- a/.github/workflows/frontend.yml
+++ b/.github/workflows/frontend.yml
@@ -22,7 +22,6 @@ on:
 
 env:
   IMAGE_NAME: librephotos-frontend
-  RELEASE_TAG: github.event.release.name
 
 jobs:
   # Run tests.
@@ -97,4 +96,4 @@ jobs:
           context: ./frontend
           platforms: linux/amd64,linux/arm64
           push: true
-          tags: reallibrephotos/librephotos-frontend:$RELEASE_TAG
+          tags: reallibrephotos/librephotos-frontend:${{ github.event.release.name }}