Skip to content

Delete old and inactive games (save money - azure) #29

Delete old and inactive games (save money - azure)

Delete old and inactive games (save money - azure) #29

name: Docker Image CI (Dev Branch)
on:
push:
branches: [ "dev" ]
pull_request:
branches: [ "dev" ]
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 Dockerfile --tag ghcr.io/${{ github.repository_owner }}/battleship-node:latest-dev
docker push ghcr.io/${{ github.repository_owner }}/battleship-node:latest-dev