name: S3 mount container image build on: release: types: [published] push: workflow_dispatch: jobs: build: container: image: docker:latest runs-on: [arm64] steps: - name: Docker pull run: docker pull ubuntu:latest - name: Var envs run: export - name: Docker retag run: docker tag ubuntu:latest $(echo "$GITHUB_REPOSITORY" | tr '[:upper:]' '[:lower:]'):latest - name: Docker push run: docker push $GITHUB_ACTION_REPOSITORY:latest