This commit is contained in:
7
.github/workflows/build-on-tag.yml
vendored
7
.github/workflows/build-on-tag.yml
vendored
@ -10,12 +10,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Build
|
|
||||||
run: docker build . -t wolviecb/short:${GITHUB_REF/refs\/tags\//}
|
|
||||||
- name: Login
|
- name: Login
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
username: wolviecb
|
username: wolviecb
|
||||||
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
|
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
|
||||||
- name: Push
|
- name: Build and Push
|
||||||
run: docker push wolviecb/short:${GITHUB_REF/refs\/tags\//}
|
run: docker build . -t wolviecb/short:${GITHUB_REF/refs\/tags\//} --push
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user