Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeElixir committed Feb 10, 2024
1 parent d264477 commit 42ee61e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/docker-image-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@ on:
- completed

jobs:

build:

runs-on: self-hosted

steps:
- name: Pull Docker image
run: sudo docker pull gsandeep04/wild-oasis:latest
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/docker-image-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,15 @@ on:
branches: [ "main" ]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/[email protected]
- name: Login Dockerhub
env:
DOCKER_USERNAME: ${{secrets.DOCKER_USERNAME}}
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}
run: docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD

- name: Build the Docker image
run: docker build -t gsandeep04/wild-oasis .
- name: Push to Dockerhub
Expand Down

0 comments on commit 42ee61e

Please sign in to comment.