This commit is contained in:
SANO Masatoshi 2021-05-14 01:47:20 +09:00
parent 806a1606de
commit 029fad9443

View file

@ -20,8 +20,8 @@ jobs:
IMAGE: ${{ secrets.IMAGE }}
run: |
echo building $(cat ./scripts/Docker/$IMAGE/Name) ...
docker build -t docker.pkg.github.com/${{ github.repository }}/$(cat ./scripts/Docker/$IMAGE/Name) ./scripts/Docker/${IMAGE}
docker build -t docker.pkg.github.com/${{ github.repository }}/$(cat ./scripts/Docker/$IMAGE/Name) ./scripts/Docker/$IMAGE
- name: Push image to GitHub Registry
env:
IMAGE: ${{ secrets.IMAGE }}
run: docker push docker.pkg.github.com/${{ github.repository }}/$(cat ./scripts/Docker/$IMAGE_DIR/Name)
run: docker push docker.pkg.github.com/${{ github.repository }}/$(cat ./scripts/Docker/$IMAGE/Name)