Update Ubuntu base image to 22.04 (#653) #17
This file contains hidden or 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: Build and push prepared templates | |
| on: | |
| push: | |
| paths: | |
| - 'templates/**' | |
| - '.github/workflows/templates.yml' | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| buildAndPublish: | |
| defaults: | |
| run: | |
| working-directory: ./templates/base | |
| name: Build and Push Images | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Log in to DockerHub | |
| uses: docker/login-action@v3 | |
| with: | |
| username: ${{ secrets.DOCKERHUB_USERNAME }} | |
| password: ${{ secrets.DOCKERHUB_TOKEN }} | |
| - name: Build and push | |
| run: | | |
| docker buildx build \ | |
| --file e2b.Dockerfile \ | |
| --platform linux/amd64 \ | |
| --push \ | |
| --tag ${{ secrets.DOCKERHUB_USERNAME }}/base:latest . |