Skip to content

added addressType and Material for warp #87

added addressType and Material for warp

added addressType and Material for warp #87

name: Docker Publish
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Docker login
run: |
echo "${{ github.token }}" | docker login https://ghcr.io -u ${GITHUB_ACTOR} --password-stdin
- name: Build the Docker image
run: docker build . --file Dockerfile --tag ghcr.io/buildtheearth/network-api:$(git rev-parse --short HEAD) --tag ghcr.io/buildtheearth/network-api:latest
- name: Docker push tag
run: docker push ghcr.io/buildtheearth/network-api:$(git rev-parse --short HEAD)
- name: Docker push latest
run: docker push ghcr.io/buildtheearth/network-api:latest