Skip to content

Commit

Permalink
feat: writing pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
xbdxllxhi2 committed Apr 26, 2024
1 parent bba2b43 commit eebc659
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/DsPipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: DSPipeline

on:
push:
branches:
- main

jobs:
DockerBuildPublish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Build Docker image
run: |
docker build -t CalculatorAPP .
docker tag CalculatorAPP:latest ghcr.io/votre_utilisateur/CalculatorAPP:latest
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u docker1xbdx --password-stdin
docker push ghcr.io/docker1xbdx/CalculatorAPP:latest

0 comments on commit eebc659

Please sign in to comment.