added production .env
Some checks failed
Docker Build & Publish / Build Docker (push) Failing after 18s
Some checks failed
Docker Build & Publish / Build Docker (push) Failing after 18s
This commit is contained in:
parent
856df75222
commit
edd346763a
1
.env.production
Normal file
1
.env.production
Normal file
@ -0,0 +1 @@
|
|||||||
|
PLACES_API=AIzaSyBf1ip4XogdC6XmbfDhxS_RJDOSieycJpQ
|
32
.gitea/workflows/pipeline.yaml
Normal file
32
.gitea/workflows/pipeline.yaml
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
name: Docker Build & Publish
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build Docker
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Check out repository code 🛎️
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Set up Docker Buildx 🚀
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
|
- name: Login to Docker Hub 🚢
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
username: ${{ secrets.REGISTRY_USERNAME}}
|
||||||
|
password: ${{ secrets.RANNES_REGISTRY}}
|
||||||
|
|
||||||
|
- name: Build and push 🏗️
|
||||||
|
uses: docker/build-push-action@v2
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
file: ./Dockerfile
|
||||||
|
push: true
|
||||||
|
tags: |
|
||||||
|
${{ secrets.REGISTRY_USERNAME}}/local-weather:latest
|
Loading…
Reference in New Issue
Block a user