diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 68be447..055af49 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,14 +25,15 @@ jobs: use-cache: true version: v0.8.0 - # Pulling rust toolchain & install linux dependencies - - uses: dtolnay/rust-toolchain@stable - # Setup repo and add caching - uses: actions/checkout@v4 - - name: Docker Login - run: docker login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }} + - name: Login to GitHub Container Registry + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Run build run: earthly --push --ci -P +all diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index 6a7757e..38957ee 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -35,8 +35,12 @@ jobs: - name: Add tomlq run: pip install tomlq - - name: Docker Login - run: docker login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }} + - name: Login to GitHub Container Registry + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Fetch tags run: git fetch --tags