Skip to content

Commit

Permalink
fix: container workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
josecelano committed Sep 4, 2024
1 parent 4f267e3 commit c5dbb51
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ jobs:
name: Checkout Repository
uses: actions/checkout@v4

- id: compose
name: Compose
run: docker compose build
#- id: compose
# name: Compose
# run: docker compose build

context:
name: Context
Expand Down Expand Up @@ -111,15 +111,15 @@ jobs:
uses: docker/metadata-action@v5
with:
images: |
"${{ env.DOCKER_HUB_USERNAME }}/${{env.DOCKER_HUB_REPOSITORY_NAME }}"
"${{ vars.DOCKER_HUB_USERNAME }}/${{ vars.DOCKER_HUB_REPOSITORY_NAME }}"
tags: |
type=ref,event=branch
- id: login
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ env.DOCKER_HUB_USERNAME }}
username: ${{ vars.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

- id: setup
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
uses: docker/metadata-action@v5
with:
images: |
"${{ env.DOCKER_HUB_USERNAME }}/${{env.DOCKER_HUB_REPOSITORY_NAME }}"
"${{ vars.DOCKER_HUB_USERNAME }}/${{ vars.DOCKER_HUB_REPOSITORY_NAME }}"
tags: |
type=semver,value=${{ needs.context.outputs.version }},pattern={{raw}}
type=semver,value=${{ needs.context.outputs.version }},pattern={{version}}
Expand All @@ -160,7 +160,7 @@ jobs:
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ env.DOCKER_HUB_USERNAME }}
username: ${{ vars.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

- id: setup
Expand Down

0 comments on commit c5dbb51

Please sign in to comment.