moved env file later in the workflow
All checks were successful
Docker Build & Publish / Build Docker (push) Successful in 1m6s
All checks were successful
Docker Build & Publish / Build Docker (push) Successful in 1m6s
This commit is contained in:
parent
39c424cde6
commit
6b7b21b6ca
@ -15,15 +15,6 @@ jobs:
|
|||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
- name: Make envfile
|
|
||||||
uses: SpicyPizza/create-envfile@v2.0
|
|
||||||
with:
|
|
||||||
envkey_DEBUG: false
|
|
||||||
PLACES_API: ${{ secrets.PLACES_API }}
|
|
||||||
directory: .
|
|
||||||
file_name: .env.production
|
|
||||||
fail_on_empty: false
|
|
||||||
sort_keys: false
|
|
||||||
- name: Set up Docker Buildx 🚀
|
- name: Set up Docker Buildx 🚀
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
with:
|
with:
|
||||||
@ -36,6 +27,15 @@ jobs:
|
|||||||
registry: gitea.rannes.dev
|
registry: gitea.rannes.dev
|
||||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||||
password: ${{ secrets.RANNES_REGISTRY }}
|
password: ${{ secrets.RANNES_REGISTRY }}
|
||||||
|
- name: Make envfile
|
||||||
|
uses: SpicyPizza/create-envfile@v2.0
|
||||||
|
with:
|
||||||
|
envkey_DEBUG: false
|
||||||
|
PLACES_API: ${{ secrets.PLACES_API }}
|
||||||
|
directory: .
|
||||||
|
file_name: .env.production
|
||||||
|
fail_on_empty: false
|
||||||
|
sort_keys: false
|
||||||
|
|
||||||
- name: Build and push 🏗️
|
- name: Build and push 🏗️
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
@ -43,4 +43,3 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: gitea.rannes.dev/rannes.dev/local-weather:latest
|
tags: gitea.rannes.dev/rannes.dev/local-weather:latest
|
||||||
secrets: places_api=${{ secrets.PLACES_API }}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user