Skip to content

Commit

Permalink
Fixing action
Browse files Browse the repository at this point in the history
  • Loading branch information
Blaize Kaye committed Aug 6, 2024
1 parent 7d91eda commit f8950f3
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/build-base-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,11 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
# - name: Log in to Docker Hub
# uses: docker/login-action@v2
# with:
# username: ${{ secrets.DOCKER_USERNAME }}
# password: ${{ secrets.DOCKER_PASSWORD }}

- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
Expand All @@ -41,12 +40,6 @@ jobs:
nginx.tags=ghcr.io/${{ github.repository_owner }}/drupal-base-image/nginx:latest
php.tags=ghcr.io/${{ github.repository_owner }}/drupal-base-image/php:latest
- name: Tag Docker images
run: |
docker tag drupal-base-cli:latest uselagoon/drupal-base-image-cli:latest
docker tag drupal-base-php:latest uselagoon/drupal-base-image-php:latest
docker tag drupal-base-nginx:latest uselagoon/drupal-base-image-nginx:latest
- name: List images
run: docker image ls

Expand All @@ -61,4 +54,4 @@ jobs:
php.tags=drupal-base-php:latest
- name: List images
run: docker image ls
run: docker image ls

0 comments on commit f8950f3

Please sign in to comment.