Skip to content

Commit

Permalink
Fix: workflow name conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
sverben committed Jan 22, 2024
1 parent 1b62cf6 commit 8d30da9
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/api.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Docker
name: API

on:
push:
Expand Down
34 changes: 34 additions & 0 deletions .github/workflows/client.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Client

on:
push:
branches:
- main
workflow_dispatch: {}

jobs:
push:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Docker Login
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push Docker image
uses: docker/[email protected]
with:
file: client/Dockerfile
context: client
push: true
tags: ghcr.io/djoamersfoort/notifications/api:latest
build-args: |
oauth_server = ${OAUTH_SERVER}
client_id = ${CLIENT_ID}
api_base = ${API_BASE}
redirect_url = ${REDIRECT_URL}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ api/data
*/venv
api/database.db
*/.idea
.idea
*/.env

0 comments on commit 8d30da9

Please sign in to comment.