Skip to content

Commit

Permalink
Update ci-config.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rozachatz authored Sep 30, 2024
1 parent ab94a52 commit ad4b859
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/ci-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,14 @@ jobs:

- name: Build the Docker image
run: docker build . --file Dockerfile --tag money-transfer-app:$(date +%s)

deploy:
runs-on: ubuntu-latest
needs: build

steps:
- name: Log in to GitHub Container Registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin

- name: Log in to GitHub Container Registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin

- name: Push Docker image to GitHub Container Registry
run: docker push ghcr.io/${{ github.repository_owner }}/money-transfer-app:$(date +%s)
- name: Push Docker image to GitHub Container Registry
run: docker push ghcr.io/${{ github.repository_owner }}/money-transfer-app:$(date +%s)

0 comments on commit ad4b859

Please sign in to comment.