Skip to content

Commit

Permalink
push into docker-hub
Browse files Browse the repository at this point in the history
  • Loading branch information
dpfaffenbauer committed Feb 28, 2020
1 parent d5eb113 commit 1e3027a
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/dockerpush.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,18 +78,15 @@ jobs:
run: |
./update.sh
- name: Login to DockerHub Registry
run: echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin

- name: Build image
run: |
DOCKERFILE="${{ matrix.php }}/${{ matrix.variant }}/${{ matrix.distro }}/${{ matrix.debug }}"
cd $DOCKERFILE
docker build .
- name: Log into registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin

- name: Login to DockerHub Registry
run: echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin

- name: Push image
run: |
IMAGE_ID=$IMAGE_NAME
Expand Down

0 comments on commit 1e3027a

Please sign in to comment.