Skip to content

Refactor and new map style #46

Refactor and new map style

Refactor and new map style #46

Workflow file for this run

name: Build
on: ['push']
jobs:
build:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
env:
IMAGE: ghcr.io/emfcamp/map-web
steps:
- uses: actions/checkout@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
context: ./web
push: true
tags: |
${{ env.IMAGE }}:${{ github.sha }}-${{ github.run_number }}
${{ env.IMAGE }}:latest