added production .env
Some checks failed
Docker Build & Publish / Build Docker (push) Failing after 18s

This commit is contained in:
ChrQR 2024-05-11 01:00:50 +02:00
parent 856df75222
commit edd346763a
2 changed files with 33 additions and 0 deletions

1
.env.production Normal file
View File

@ -0,0 +1 @@
PLACES_API=AIzaSyBf1ip4XogdC6XmbfDhxS_RJDOSieycJpQ

View 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