We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d480de7 + b525423 commit 020a88bCopy full SHA for 020a88b
.github/workflows/docker-publish.yml
@@ -10,16 +10,18 @@ on:
10
tags:
11
- 'v*' # runs on push of semantic version tags (e.g., v1.2.3)
12
13
-env:
14
- SLIMEVR_VERSION: ${{ env.SLIMEVR_VERSION != '' && env.SLIMEVR_VERSION || secrets.SLIMEVR_VERSION }}
15
-
16
jobs:
17
build-and-push:
18
runs-on: ubuntu-latest
19
steps:
20
# 1. Checkout the repository
21
- name: Checkout repository
22
uses: actions/checkout@v3
+
+ - name: Load .env file
+ run: |
23
+ SL_VER=$(grep -E '^SLIMEVR_VERSION=' .env | cut -d= -f2)
24
+ echo "SLIMEVR_VERSION=$SL_VER" >> $GITHUB_ENV
25
26
# 2. Set up QEMU for multi-architecture builds
27
- name: Set up QEMU
0 commit comments