From 9c856cc7acdd3846da67dc1785fe32e228d87c21 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 25 Apr 2020 18:55:28 +0100 Subject: [PATCH] Show image information --- .github/workflows/deploy.yml | 4 ++-- .github/workflows/docker.yml | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index db00c30..4aade42 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index b562925..a2471a4 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -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