1
Fork 0

Show image information

This commit is contained in:
Jake Howard 2020-04-25 18:55:28 +01:00
parent dad0cd00e6
commit 9c856cc7ac
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 6 additions and 3 deletions

View file

@ -12,11 +12,11 @@ jobs:
- uses: actions/checkout@v1
- name: Build container
- name: Build image
run: docker build --tag docker.pkg.github.com/${GITHUB_REPOSITORY,,}/website:latest .
- name: Log into GitHub Docker Registry
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

View file

@ -9,5 +9,8 @@ jobs:
- uses: actions/checkout@v1
- name: Build container
- name: Build image
run: docker build .
- name: Show image info
run: docker images