Skip to content

Commit

Permalink
Added login
Browse files Browse the repository at this point in the history
  • Loading branch information
FaimMedia committed Apr 27, 2024
1 parent 46b0a67 commit 5863a17
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Download vendor folder
uses: actions/download-artifact@v4
with:
name: composer-vendor
- name: Output tag
run: echo ${{ needs.setup.outputs.tag }}
- name: Build the Docker image
run: docker buildx build --pull --push --no-cache --tag="ghcr.io/faimmedia/php-migration/test:${{ needs.setup.outputs.tag }}" --file ./docker/php/Dockerfile .

Expand Down

0 comments on commit 5863a17

Please sign in to comment.