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