fix????????????

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso 2024-09-20 09:33:52 -04:00
parent ca599a3714
commit 3a7a5ec56e
Signed by: xe
SSH Key Fingerprint: SHA256:4VmLEcSFkJqNVktQ6/3CA2uSk8wGZ8VEzLmTQTyjngM

View File

@ -12,8 +12,9 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
EARTHLY_TOKEN: ${{ secrets.EARTHLY_TOKEN }} EARTHLY_TOKEN: ${{ secrets.EARTHLY_TOKEN }}
EARTHLY_DISABLE_REMOTE_REGISTRY_PROXY: "1"
steps: steps:
- name: "Install Earthly" - name: install earthly
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y \ sudo apt-get install -y \
@ -29,9 +30,9 @@ jobs:
sudo apt-get update sudo apt-get update
sudo apt-get install -y earthly sudo apt-get install -y earthly
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Docker login # to avoid dockerhub rate-limiting - name: docker login # to avoid dockerhub rate-limiting
run: docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password "${{ secrets.DOCKERHUB_PASSWORD }}" run: docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password "${{ secrets.DOCKERHUB_PASSWORD }}"
- name: Log into ghcr.io - name: log into ghcr.io
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0 uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
with: with:
registry: ghcr.io registry: ghcr.io
@ -43,5 +44,5 @@ jobs:
#earthly sat select alpha #earthly sat select alpha
docker info docker info
env env
- name: run the earthly hello world - name: build www image
run: earthly +run run: earthly +run