Skip to content

Commit

Permalink
Update and rename release.yml to create_pandora.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sei-dupdyke authored Jun 6, 2024
1 parent 644f6f7 commit 7d115e8
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/create_pandora.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Create Container Pandora

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-pandora
push: true
context: src/ghosts.pandora/src/
file: src/ghosts.pandora/src/Dockerfile
Empty file removed .github/workflows/release.yml
Empty file.

0 comments on commit 7d115e8

Please sign in to comment.