Skip to content

Commit

Permalink
fix: gitflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Raul Castro committed Oct 19, 2023
1 parent f6bbc19 commit adccb75
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,16 @@ on:
branches: [ "main" ]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v1.10.0
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_PWD }}
# run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
run: docker build . --file Dockerfile --tag zerosum:$(date +%s)
- name: Docker Build and Push
uses: docker/build-push-action@v2.7.0
with:
Expand All @@ -28,5 +25,4 @@ jobs:
push: true
tags: |
raulc27/zerosum:latest
raulc27/zerosum:${{ github.run_number }}
raulc27/zerosum:${{ github.run_number }}

0 comments on commit adccb75

Please sign in to comment.