Skip to content

Commit

Permalink
Restored docker/login-action and docker/metadata-action order in gith…
Browse files Browse the repository at this point in the history
…ub-package.yml
  • Loading branch information
rhertogh committed May 5, 2024
1 parent 20a4b71 commit 6b256e2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/github-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install composer dependencies
uses: php-actions/composer@v6
with:
args: --ignore-platform-reqs

# Uses the `docker/login-action` action to log in to the Container registry using the account and password that will publish the packages. Once published, the packages are scoped to the account defined here.
- name: Log in to the Container registry
uses: docker/login-action@v3
Expand All @@ -37,11 +42,6 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Install composer dependencies
uses: php-actions/composer@v6
with:
args: --ignore-platform-reqs

# This step uses the `docker/build-push-action` action to build the image, based on your repository's `Dockerfile`. If the build succeeds, it pushes the image to GitHub Packages.
# It uses the `context` parameter to define the build's context as the set of files located in the specified path. For more information, see "[Usage](https://github.com/docker/build-push-action#usage)" in the README of the `docker/build-push-action` repository.
# It uses the `tags` and `labels` parameters to tag and label the image with the output from the "meta" step.
Expand Down

0 comments on commit 6b256e2

Please sign in to comment.