Skip to content

Commit

Permalink
Create docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SystemsPurge authored Nov 6, 2024
1 parent 04a9a35 commit 6ccea61
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Docker Image CI

on:
push:
branches:
- '**'

jobs:
build_docker:
runs-on: ubuntu-latest
steps:
- run: docker build --tag $CRI:$GITHUB_REF_NAME .

deploy_docker:
runs-on: ubuntu-latest
needs: [build_docker]
steps:
- run: docker login -u $CRU -p $CRP $CR
- run: docker push $CRI:$GITHUB_REF_NAME

0 comments on commit 6ccea61

Please sign in to comment.