Skip to content

Commit

Permalink
Create create-container-shadows.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sei-dupdyke committed Aug 26, 2024
1 parent 08e2405 commit 3576e1a
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/create-container-shadows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Create Container Shadows

on:
workflow_dispatch:
branches: [ main ]
release:
types: [ "published" ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push Docker images
uses: docker/build-push-action@v2
with:
tags: dustinupdyke/ghosts-shadows:latest
push: true
context: ./src/ghosts.shadows/
file: ./src/ghosts.shadows/Dockerfile

0 comments on commit 3576e1a

Please sign in to comment.