Skip to content

Commit

Permalink
revert after test
Browse files Browse the repository at this point in the history
  • Loading branch information
idodod committed Mar 26, 2024
1 parent 3d87584 commit fa83f73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 17 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/renovate-helper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ on:

jobs:
udpate-renovate-branch:
name: Update Renovate Branch ${{ github.head_ref }}
if: github.event.pull_request.head.repo.full_name == github.repository
# && startsWith(github.head_ref, 'renovate/') && github.head_ref == 'renovate[bot]'
name: ${{ github.head_ref }}
if: github.event.pull_request.head.repo.full_name == github.repository && startsWith(github.head_ref, 'renovate/') && github.head_ref == 'renovate[bot]'
runs-on: ubuntu-latest
env:
FORCE_COLOR: 1
Expand All @@ -22,13 +21,5 @@ jobs:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
# - name: Docker login (non fork only)
# run: |-
# docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password "${{ secrets.DOCKERHUB_TOKEN }}"
# docker login registry-1.docker.io.mirror.corp.earthly.dev --username "${{ secrets.DOCKERHUB_MIRROR_USERNAME }}" --password "${{ secrets.DOCKERHUB_MIRROR_PASSWORD }}"
# - name: Configure Earthly to use mirror (non fork only)
# run: |-
# earthly config global.buildkit_additional_config "'[registry.\"docker.io\"]
# mirrors = [\"registry-1.docker.io.mirror.corp.earthly.dev\"]'"
- name: Update Branch
run: earthly --ci -P --push --org earthly-technologies +ido-test
run: earthly --ci -P --push +update-dist
5 changes: 0 additions & 5 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,6 @@ update-dist-for-renovate:
RUN --push --mount=type=secret,id=$SECRET_PATH,mode=0400,target=/root/.ssh/id_rsa \
git push origin $branch

ido-test:
FROM alpine
ARG EARTHLY_GIT_BRANCH
RUN --no-cache echo the branch is $EARTHLY_GIT_BRANCH

all:
BUILD +lint
BUILD +lint-newline
Expand Down

0 comments on commit fa83f73

Please sign in to comment.