diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml index c36d220..303b0d0 100644 --- a/.github/workflows/dockerimage.yml +++ b/.github/workflows/dockerimage.yml @@ -14,7 +14,16 @@ jobs: - name: checkout uses: actions/checkout@v2 - - name: build and push + - name: build and push to github packages + uses: docker/build-push-action@v1 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + tag_with_ref: true + tag_with_sha: false + + - name: build and push to docker hub uses: docker/build-push-action@v1 with: repository: projecteru2/cli