Skip to content

Merge pull request #34 from kendlbat/dev #30

Merge pull request #34 from kendlbat/dev

Merge pull request #34 from kendlbat/dev #30

name: Docker Image CI (Azure)
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build the Docker image
run: |
docker build . --file DockerfileAzure --tag ghcr.io/${{ github.repository_owner }}/battleship-node:azure
docker push ghcr.io/${{ github.repository_owner }}/battleship-node:azure