Show image information
This commit is contained in:
parent
dad0cd00e6
commit
9c856cc7ac
2 changed files with 6 additions and 3 deletions
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
|
@ -12,11 +12,11 @@ jobs:
|
||||||
|
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
- name: Build container
|
- name: Build image
|
||||||
run: docker build --tag docker.pkg.github.com/${GITHUB_REPOSITORY,,}/website:latest .
|
run: docker build --tag docker.pkg.github.com/${GITHUB_REPOSITORY,,}/website:latest .
|
||||||
|
|
||||||
- name: Log into GitHub Docker Registry
|
- name: Log into GitHub Docker Registry
|
||||||
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login docker.pkg.github.com -u ${GITHUB_REPOSITORY%/*} --password-stdin
|
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login docker.pkg.github.com -u ${GITHUB_REPOSITORY%/*} --password-stdin
|
||||||
|
|
||||||
- name: Push the Docker container
|
- name: Push the Docker image
|
||||||
run: docker push docker.pkg.github.com/${GITHUB_REPOSITORY,,}/website:latest
|
run: docker push docker.pkg.github.com/${GITHUB_REPOSITORY,,}/website:latest
|
||||||
|
|
5
.github/workflows/docker.yml
vendored
5
.github/workflows/docker.yml
vendored
|
@ -9,5 +9,8 @@ jobs:
|
||||||
|
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
- name: Build container
|
- name: Build image
|
||||||
run: docker build .
|
run: docker build .
|
||||||
|
|
||||||
|
- name: Show image info
|
||||||
|
run: docker images
|
||||||
|
|
Reference in a new issue