Skip to content

Merge pull request #7 from Distributive-Network/ci/basic #1

Merge pull request #7 from Distributive-Network/ci/basic

Merge pull request #7 from Distributive-Network/ci/basic #1

Workflow file for this run

name: deploy ci
on:
push:
tags:
- '*'
jobs:
build:
name: "build-docker-image"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
- uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v3
with:
context: .
file: ./Dockerfile
platforms: linux/arm64,linux/amd64
push: true
tags: ghcr.io/distributive-network/dcp-rest:${{ github.ref_name }}