Build the release-5.6 branch with Rust 1.71.1 to match the downstream #170
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: Environment Suite | |
on: | |
pull_request: {} | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
env: | |
VERBOSE: true | |
CI: true | |
jobs: | |
publish-new-environment: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up QEMU | |
uses: docker/[email protected] | |
- name: Set up Docker Buildx | |
uses: docker/[email protected] | |
- name: Login to DockerHub | |
uses: docker/[email protected] | |
if: github.ref == 'refs/heads/master' | |
with: | |
username: ${{ secrets.CI_DOCKER_USERNAME }} | |
password: ${{ secrets.CI_DOCKER_PASSWORD }} | |
- name: Extract metadata (tags, labels) for Docker | |
id: meta | |
uses: docker/metadata-action@e5622373a38e60fb6d795a4421e56882f2d7a681 | |
with: | |
images: timberio/ci_image | |
flavor: | | |
latest=true | |
tags: type=sha, format=long | |
labels: | | |
org.opencontainers.image.description=Image for Vector's CI workflows and Docker development environment | |
org.opencontainers.image.source=https://github.com/vectordotdev/vector/tree/master/scripts/environment/Dockerfile | |
org.opencontainers.image.title=Vector CI image | |
org.opencontainers.image.url=https://github.com/vectordotdev/vector | |
- name: Build and push | |
uses: docker/[email protected] | |
with: | |
context: . | |
file: ./scripts/environment/Dockerfile | |
push: ${{ github.ref == 'refs/heads/master' }} | |
tags: ${{ steps.meta.outputs.tags }} | |
labels: ${{ steps.meta.outputs.labels }} |