Skip to content

Merge pull request #113 from xMasa-1022/patch-1 #305

Merge pull request #113 from xMasa-1022/patch-1

Merge pull request #113 from xMasa-1022/patch-1 #305

Workflow file for this run

name: Build and push docker image
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login ghcr
env:
GHCR_TOKEN: ${{ secrets.GHCR_TOKEN }}
run: docker login ghcr.io --username giorgi-o --password "$GHCR_TOKEN"
- name: Build and Push Image
run: |
docker buildx build \
--tag ghcr.io/giorgi-o/skinpeek/skinpeek:latest \
--tag ghcr.io/giorgi-o/skinpeek/skinpeek:"$GITHUB_SHA" \
--platform linux/amd64,linux/arm64/v8 \
--file ./Dockerfile \
--output type=image,push=true .