fix(test3): RunMemPackage on p/leon/avl to restore types #6871
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker | |
on: | |
pull_request: [] | |
push: | |
branches: | |
- master | |
jobs: | |
build-push: | |
runs-on: ubuntu-latest | |
name: "Build & Push Container" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Build main Docker image | |
env: | |
owner: ${{ github.repository_owner }} | |
reponame: ${{ github.event.repository.name }} | |
run: | | |
docker build -t ghcr.io/${owner}/${reponame} . | |
docker tag ghcr.io/${owner}/${reponame}:latest ghcr.io/${owner}/${reponame}:${GITHUB_SHA::8} | |
- name: Build slim Docker images | |
env: | |
owner: ${{ github.repository_owner }} | |
reponame: ${{ github.event.repository.name }} | |
run: | | |
docker build --target=gnoland-slim -t ghcr.io/${owner}/${reponame}/gnoland-slim . | |
docker build --target=gnokey-slim -t ghcr.io/${owner}/${reponame}/gnokey-slim . | |
docker build --target=gnodev-slim -t ghcr.io/${owner}/${reponame}/gnodev-slim . | |
docker build --target=gnofaucet-slim -t ghcr.io/${owner}/${reponame}/gnofaucet-slim . | |
docker build --target=gnoweb-slim -t ghcr.io/${owner}/${reponame}/gnoweb-slim . | |
docker tag ghcr.io/${owner}/${reponame}/gnoland-slim:latest ghcr.io/${owner}/${reponame}/gnoland-slim:${GITHUB_SHA::8} | |
docker tag ghcr.io/${owner}/${reponame}/gnokey-slim:latest ghcr.io/${owner}/${reponame}/gnokey-slim:${GITHUB_SHA::8} | |
docker tag ghcr.io/${owner}/${reponame}/gnodev-slim:latest ghcr.io/${owner}/${reponame}/gnodev-slim:${GITHUB_SHA::8} | |
docker tag ghcr.io/${owner}/${reponame}/gnofaucet-slim:latest ghcr.io/${owner}/${reponame}/gnofaucet-slim:${GITHUB_SHA::8} | |
docker tag ghcr.io/${owner}/${reponame}/gnoweb-slim:latest ghcr.io/${owner}/${reponame}/gnoweb-slim:${GITHUB_SHA::8} | |
- name: List docker images | |
run: | | |
docker images | grep ghcr | |
- name: Log in to GitHub Container Registry | |
if: (github.event_name != 'pull_request') | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Publish images | |
if: (github.event_name != 'pull_request') | |
env: | |
owner: ${{ github.repository_owner }} | |
reponame: ${{ github.event.repository.name }} | |
run: | | |
docker push ghcr.io/${owner}/${reponame}:latest | |
docker push ghcr.io/${owner}/${reponame}:${GITHUB_SHA::8} | |
docker push ghcr.io/${owner}/${reponame}/gnoland-slim:latest | |
docker push ghcr.io/${owner}/${reponame}/gnoland-slim:${GITHUB_SHA::8} | |
docker push ghcr.io/${owner}/${reponame}/gnokey-slim:latest | |
docker push ghcr.io/${owner}/${reponame}/gnokey-slim:${GITHUB_SHA::8} | |
docker push ghcr.io/${owner}/${reponame}/gnodev-slim:latest | |
docker push ghcr.io/${owner}/${reponame}/gnodev-slim:${GITHUB_SHA::8} | |
docker push ghcr.io/${owner}/${reponame}/gnofaucet-slim:latest | |
docker push ghcr.io/${owner}/${reponame}/gnofaucet-slim:${GITHUB_SHA::8} | |
docker push ghcr.io/${owner}/${reponame}/gnoweb-slim:latest | |
docker push ghcr.io/${owner}/${reponame}/gnoweb-slim:${GITHUB_SHA::8} |