Turn back on push-always #6
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: devcontainer-ci | |
on: | |
push: | |
paths: | |
- .github/workflows/devcontainer-ci.yml | |
- images/iggy-cpp-build/.devcontainer/* | |
permissions: read-all | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Setup Docker buildx for multi-architecture builds | |
uses: docker/setup-buildx-action@v3 | |
with: | |
use: true | |
- name: Login to Docker Hub | |
uses: docker/login-action@v2 | |
with: | |
registry: docker.io | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Pre-build image and run make ci-build in dev container | |
uses: devcontainers/[email protected] | |
with: | |
imageName: docker.io/iggyrs/iggy-cpp-build | |
cacheFrom: docker.io/iggyrs/iggy-cpp-build | |
platform: linux/amd64,linux/arm/v7,linux/arm64 | |
push: always |