mirror of
https://github.com/maplibre/martin.git
synced 2024-12-22 14:21:39 +03:00
19 lines
530 B
YAML
19 lines
530 B
YAML
name: Docker Image CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Build the Docker image
|
|
run: docker build -t docker.pkg.github.com/urbica/martin/martin:latest .
|
|
- name: Push the image to the GitHub Package Registry
|
|
run: |
|
|
docker login docker.pkg.github.com -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
|
|
docker push docker.pkg.github.com/urbica/martin/martin:latest
|