Skip to content

Commit

Permalink
Github actions для сборки docker образа
Browse files Browse the repository at this point in the history
  • Loading branch information
updevru committed Apr 21, 2024
1 parent fd2c186 commit 73d0090
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/go.yml → .github/workflows/strapi-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,24 @@ on:
- master

jobs:
deploy:
build:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push from mater
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
context: ./strapi
push: true
tags: updev/strapi:latest

0 comments on commit 73d0090

Please sign in to comment.