ci: update global docker (#1630)

This commit is contained in:
LizardByte-bot
2023-09-13 00:09:09 -04:00
committed by GitHub
parent 515fafef2d
commit 8e5516c123
+6 -6
View File
@@ -309,10 +309,10 @@ jobs:
echo "tags=${TAGS}" >> $GITHUB_OUTPUT echo "tags=${TAGS}" >> $GITHUB_OUTPUT
- name: Set Up QEMU - name: Set Up QEMU
uses: docker/setup-qemu-action@v2 uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2 uses: docker/setup-buildx-action@v3
id: buildx id: buildx
- name: Cache Docker Layers - name: Cache Docker Layers
@@ -325,14 +325,14 @@ jobs:
- name: Log in to Docker Hub - name: Log in to Docker Hub
if: ${{ steps.prepare.outputs.push == 'true' }} # PRs do not have access to secrets if: ${{ steps.prepare.outputs.push == 'true' }} # PRs do not have access to secrets
uses: docker/login-action@v2 uses: docker/login-action@v3
with: with:
username: ${{ secrets.DOCKER_HUB_USERNAME }} username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Log in to the Container registry - name: Log in to the Container registry
if: ${{ steps.prepare.outputs.push == 'true' }} # PRs do not have access to secrets if: ${{ steps.prepare.outputs.push == 'true' }} # PRs do not have access to secrets
uses: docker/login-action@v2 uses: docker/login-action@v3
with: with:
registry: ghcr.io registry: ghcr.io
username: ${{ secrets.GH_BOT_NAME }} username: ${{ secrets.GH_BOT_NAME }}
@@ -341,7 +341,7 @@ jobs:
- name: Build artifacts - name: Build artifacts
if: ${{ steps.prepare.outputs.artifacts == 'true' }} if: ${{ steps.prepare.outputs.artifacts == 'true' }}
id: build_artifacts id: build_artifacts
uses: docker/build-push-action@v4 uses: docker/build-push-action@v5
with: with:
context: ./ context: ./
file: ${{ matrix.dockerfile }} file: ${{ matrix.dockerfile }}
@@ -363,7 +363,7 @@ jobs:
- name: Build and push - name: Build and push
id: build id: build
uses: docker/build-push-action@v4 uses: docker/build-push-action@v5
with: with:
context: ./ context: ./
file: ${{ matrix.dockerfile }} file: ${{ matrix.dockerfile }}