Python update to v3.11 (#8) #26
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 Image CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
IMAGE_TAG: "theengs/gateway:test" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build the Docker image | |
run: docker build --tag "${IMAGE_TAG}" . | |
- name: Save Docker image | |
run: docker save --output image.tar "${IMAGE_TAG}" | |
- name: Upload Docker image | |
uses: actions/upload-artifact@v2 | |
with: | |
name: docker-image | |
path: image.tar | |
retention-days: 1 |