Update docker-build.yaml
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m3s
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m3s
This commit is contained in:
parent
f22fcde48b
commit
8c34d15bf1
@ -25,12 +25,13 @@ jobs:
|
||||
id: tag
|
||||
run: |
|
||||
if [[ "${{ gitea.ref_name }}" == "main" ]]; then
|
||||
echo "TAG=latest" >> $GITEA_ENV
|
||||
TAG="latest"
|
||||
elif [[ "${{ gitea.ref_name }}" == "staging" ]]; then
|
||||
echo "TAG=staging" >> $GITEA_ENV
|
||||
TAG="staging"
|
||||
elif [[ "${{ gitea.ref_name }}" == "dev" ]]; then
|
||||
echo "TAG=dev" >> $GITEA_ENV
|
||||
TAG="dev"
|
||||
fi
|
||||
echo "TAG=$TAG" >> $GITHUB_ENV
|
||||
|
||||
- name: Build Docker image
|
||||
run: |
|
||||
@ -42,4 +43,4 @@ jobs:
|
||||
- name: Tag & Push Docker image
|
||||
run: |
|
||||
docker tag pyrss-website:${{ env.TAG }} xordk/pyrss-website:${{ env.TAG }}
|
||||
docker push xordk/pyrss-website:${{ env.TAG }}
|
||||
docker push xordk/pyrss-website:${{ env.TAG }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user