Skip to content

Commit

Permalink
ci: skip firefetch-docker-image.yml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jaypatel1210 committed Nov 17, 2024
1 parent 47e41b1 commit ce68aae
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/firefetch-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@
# paths:
# - firefetch/**

jobs:
build:
runs-on: ubuntu-latest
# jobs:
# build:
# runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
# steps:
# - uses: actions/checkout@v4

- name: Log in to Docker Hub
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
# - name: Log in to Docker Hub
# run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin

- name: Generate Docker tag
id: docker_tag
run: echo "tag=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
# - name: Generate Docker tag
# id: docker_tag
# run: echo "tag=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT

- name: Build the Docker image
run: docker build firefetch --file firefetch/Dockerfile --tag jaypatel1210/firefetch:${{ steps.docker_tag.outputs.tag }}
# - name: Build the Docker image
# run: docker build firefetch --file firefetch/Dockerfile --tag jaypatel1210/firefetch:${{ steps.docker_tag.outputs.tag }}

- name: Push the Docker image
run: docker push jaypatel1210/firefetch:${{ steps.docker_tag.outputs.tag }}
# - name: Push the Docker image
# run: docker push jaypatel1210/firefetch:${{ steps.docker_tag.outputs.tag }}

0 comments on commit ce68aae

Please sign in to comment.