diff options
Diffstat (limited to '.github/workflows/publish.yml')
-rw-r--r-- | .github/workflows/publish.yml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b12796f..1358287 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,14 +18,17 @@ jobs: - uses: actions/checkout@v2 - name: Generate tag run: echo "CUSTOM_DOCKER_TAG=${GITHUB_REF##*/}" >> $GITHUB_ENV - - name: Build and push central Docker image - uses: docker/build-push-action@v1 + - name: Login to GitHub Container Registry + uses: docker/login-action@v1 with: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.CR_PAT }} - repository: ${{ github.repository }} - tags: $CUSTOM_DOCKER_TAG + - name: Build and push central Docker image + uses: docker/build-push-action@v2.2.1 + with: + tags: ghcr.io/Trumeet/dn42peering:${{ env.CUSTOM_DOCKER_TAG }} + push: true build_agent: runs-on: ubuntu-latest steps: |