Skip to content

Commit

Permalink
Added workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Grancsa <[email protected]>
  • Loading branch information
RobertGrancsa committed May 10, 2024
1 parent ef5bd62 commit 891d6cd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/checker.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name: Checker

on: push
on:
push:
workflow_dispatch:

jobs:
checker:
runs-on: ubuntu-latest
container:
image: ghcr.io/robertgrancsa/sd-tema-3:latest
image: ghcr.io/sd-pub/tema3:latest
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Publish

on:
workflow_dispatch:
push:
branches:
- update_image
Expand All @@ -20,6 +21,6 @@ jobs:

- name: Build the sd-tema-3 Docker image
run: |
docker build . --tag ghcr.io/robertgrancsa/sd-tema-3:latest
docker run ghcr.io/robertgrancsa/sd-tema-3:latest
docker push ghcr.io/robertgrancsa/sd-tema-3:latest
docker build . --tag ghcr.io/sd-pub/tema3:latest
docker run ghcr.io/sd-pub/tema3:latest
docker push ghcr.io/sd-pub/tema3:latest

0 comments on commit 891d6cd

Please sign in to comment.