Skip to content

Commit

Permalink
Create docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sefirosweb committed Mar 12, 2024
1 parent a57e73a commit faa550b
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 30 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Docker Image CI

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Docker Login
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push Docker images
uses: docker/[email protected]
with:
context: .
file: docker/Dockerfile
push: true
tags: ghcr.io/sefirosweb/minecraft-legion:latest
30 changes: 0 additions & 30 deletions .github/workflows/publish.yml

This file was deleted.

0 comments on commit faa550b

Please sign in to comment.