Skip to content

Commit

Permalink
variables
Browse files Browse the repository at this point in the history
  • Loading branch information
GOrtiz16 committed May 16, 2024
1 parent 57d61a0 commit 8f80d3e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflow/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: node
on:
workflow_dispatch:
env:
REGISTRY_SERVER: ${{ vars.REGISTRY_SERVER }}
jobs:
run:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -41,5 +39,5 @@ jobs:

- name: Build and push Docker image
run: |
docker build . -t $REGISTRY_SERVER/adventure:latest
docker push $REGISTRY_SERVER/adventure:latest
docker build . -t ${{ vars.REGISTRY_SERVER }}/adventure:latest
docker push ${{ vars.REGISTRY_SERVER }}/adventure:latest

0 comments on commit 8f80d3e

Please sign in to comment.