Skip to content

Trying to add secret ssl key and cert #4

Trying to add secret ssl key and cert

Trying to add secret ssl key and cert #4

Workflow file for this run

name: Docker Image CI
on:
push:
branches: ["deploy"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:

Check failure on line 15 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / Docker Image CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 15, Col: 12): Unexpected value ''
- name: Login Dockerhub
env:
DOCKER_USERNAME: ${{secrets.DOCKER_USERNAME}}
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}
run: docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- name: Build Docker Container
uses: docker/build-push-action@v6
with:
context: ./Frontend
tags: thomastejedor/quiz-slayer-env:latest
secrets: |
"PRIVATE_KEY=${{secrets.PRIVATE_SSL_KEY}}"
"SSL_CERT=${{secrets.SSL_CERT}}"