From 7d115e83493b8980b9e3e1d13729134a43969bf7 Mon Sep 17 00:00:00 2001 From: Dustin Updyke <43444464+sei-dupdyke@users.noreply.github.com> Date: Thu, 6 Jun 2024 14:35:24 -0400 Subject: [PATCH] Update and rename release.yml to create_pandora.yml --- .github/workflows/create_pandora.yml | 28 ++++++++++++++++++++++++++++ .github/workflows/release.yml | 0 2 files changed, 28 insertions(+) create mode 100644 .github/workflows/create_pandora.yml delete mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/create_pandora.yml b/.github/workflows/create_pandora.yml new file mode 100644 index 00000000..991681c3 --- /dev/null +++ b/.github/workflows/create_pandora.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index e69de29b..00000000