diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml
index 9ddd42d5da979afed9a6261c8d318750e882937c..490d4ccc9a755eb53b56d17032cd7db595a767d3 100644
--- a/.github/workflows/backend.yml
+++ b/.github/workflows/backend.yml
@@ -13,7 +13,6 @@ on:
 
 env:
   IMAGE_NAME: librephotos
-  RELEASE_TAG: github.event.release.name
   
 jobs:
   # Run tests.
@@ -88,4 +87,4 @@ jobs:
           context: ./backend
           platforms: linux/amd64,linux/arm64
           push: true
-          tags: reallibrephotos/librephotos:$RELEASE_TAG
+          tags: reallibrephotos/librephotos:${{ github.event.release.name }}