mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-01-05 08:09:58 +01:00
add push
This commit is contained in:
parent
1836223f95
commit
2862123fe6
6
.github/workflows/build_image.yml
vendored
6
.github/workflows/build_image.yml
vendored
|
|
@ -13,11 +13,13 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build the Docker image
|
||||
run: docker build . --file Dockerfile --tag boswatch:$(date +%s)
|
||||
run: docker build . --file Dockerfile --tag boswatch:latest
|
||||
- name: docker login
|
||||
env:
|
||||
GH_PACKAGES_USERNAME: ${{ secrets.GH_PACKAGES_USERNAME }}
|
||||
GH_PACKAGES_PASSWORD: ${{ secrets.GH_PACKAGES_PASSWORD }}
|
||||
run: docker login docker.pkg.github.com --username $GH_PACKAGES_USERNAME --password $GH_PACKAGES_PASSWORD
|
||||
- name: Push the Docker image to Github Packages
|
||||
- name: Rename the Docker image
|
||||
run: docker tag boswatch docker.pkg.github.com/janspeller/bw3-core/boswatch:latest
|
||||
- name: Push the Docker image to Github package repository
|
||||
run: docker push docker.pkg.github.com/janspeller/bw3-core/boswatch:latest
|
||||
|
|
|
|||
Loading…
Reference in a new issue