We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90dfd48 commit 079c353Copy full SHA for 079c353
.github/workflows/build_and_push.yml
@@ -8,7 +8,6 @@ on:
8
branches: [ "main" ]
9
10
jobs:
11
-
12
build:
13
runs-on: ubuntu-latest
14
steps:
@@ -21,8 +20,8 @@ jobs:
21
20
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
22
- name: Build the Docker image
23
run: |
24
- docker build --tag hexydev/spacebox-crawler:${{github.ref_name}} --target=app .
+ docker build -t hexydev/spacebox-crawler:latest -t hexydev/spacebox-crawler:${{github.ref_name}} --target=app .
25
- name: push to registry
26
27
- docker ps
28
- // docker push ${{secrets.DOCKERHUB_REPO}}
+ docker push hexydev/spacebox-crawler:${{github.ref_name}}
+ docker push hexydev/spacebox-crawler:latest
0 commit comments