Skip to content

Commit 09c0e0f

Browse files
committed
Revert "fix CI"
This reverts commit aafd0fd.
1 parent aafd0fd commit 09c0e0f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,20 @@ jobs:
2828
helm lint infra/helm/zippy
2929
3030
- name: Login to Docker Hub
31-
if: secrets.DOCKERHUB_USERNAME != null && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))
31+
if: env.DOCKERHUB_USERNAME != null && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))
3232
uses: docker/login-action@v3
3333
with:
3434
username: ${{ secrets.DOCKERHUB_USERNAME }}
3535
password: ${{ secrets.DOCKERHUB_TOKEN }}
3636

3737
- name: Push images
38-
if: secrets.DOCKERHUB_USERNAME != null && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))
38+
if: env.DOCKERHUB_USERNAME != null && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))
3939
run: |
4040
docker image ls | grep ${{ env.DOCKER_TAG }} | awk '{ print $1 }' | xargs -I {} echo docker tag {}:${{ env.DOCKER_TAG }} {}:${{ github.ref_name }} | bash
4141
REGISTRY_NAMESPACE=alchemyfr/ps- DOCKER_TAG=${{ github.ref_name }} docker compose push
4242
4343
- name: Push latest
44-
if: secrets.DOCKERHUB_USERNAME != null && startsWith(github.ref, 'refs/tags/')
44+
if: env.DOCKERHUB_USERNAME != null && startsWith(github.ref, 'refs/tags/')
4545
run: |
4646
LATEST_TAG=$(curl \
4747
-H "Accept: application/vnd.github+json" \

0 commit comments

Comments
 (0)