Обновляет версию пакета actions/cache@v4 для экшенов (#1327) #587
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Deploy | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
docker: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Настройка QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Настройка Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Авторизация на Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Сборка и публикация | |
id: docker_build | |
uses: docker/build-push-action@v5 | |
with: | |
push: true | |
tags: dokaguide/platform:latest | |
platforms: linux/amd64,linux/arm64,linux/x86_64 | |
- name: Обзор загруженного образа | |
run: echo ${{ steps.docker_build.outputs.digest }} |