Skip to content

Commit

Permalink
Revert "fix: docker login right registry when non-pr (#2)"
Browse files Browse the repository at this point in the history
This reverts commit 167ba0f.
  • Loading branch information
cavivie authored Mar 29, 2024
1 parent 167ba0f commit af6df89
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ on:
pull_request:
branches: [ "main" ]

env:
REGISTRY: 'ghcr.io'

jobs:
build:
runs-on: windows-2022
Expand Down Expand Up @@ -55,31 +52,27 @@ jobs:
- name: Build and push docker image for win-dev-base
uses: ./.github/actions/docker-build-push
with:
registry: ${{ env.REGISTRY }}
push: ${{ github.event_name != 'pull_request' }}
tag: win-dev-base
context: win-dev-base

- name: Build and push docker image for win-dev-rust
uses: ./.github/actions/docker-build-push
with:
registry: ${{ env.REGISTRY }}
push: ${{ github.event_name != 'pull_request' }}
tag: win-dev-rust
context: win-dev-rust

- name: Build and push docker image for alrd-windows
uses: ./.github/actions/docker-build-push
with:
registry: ${{ env.REGISTRY }}
push: ${{ github.event_name != 'pull_request' }}
tag: alrd-windows
context: win-alrd-rsxe

- name: Build and push docker image for rsxe-windows
uses: ./.github/actions/docker-build-push
with:
registry: ${{ env.REGISTRY }}
push: ${{ github.event_name != 'pull_request' }}
tag: rsxe-windows
context: win-alrd-rsxe

0 comments on commit af6df89

Please sign in to comment.