Skip to content

Commit

Permalink
re add one job for push and pull for fix image storage
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Fuix committed Sep 11, 2023
1 parent d6a859a commit bb6b900
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/docker-image-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Build Docker image
- name: Build and push Docker image
run: |
docker build -t julienfuix/argo-cd:latest .
push-docker-image:
runs-on: ubuntu-latest
needs: build-docker-image # Ajoute la dépendance ici

steps:
- name: Login to GitHub Container Registry
run: docker login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}

- name: Push Docker image
run: |
docker push julienfuix/argo-cd:latest

0 comments on commit bb6b900

Please sign in to comment.