Bump nginx from 1.21-alpine to 1.25-alpine (#74) #34
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: build-ewm-cloud-robotics-images | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- 'docs/**' | |
- '**/*.md' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install skaffold | |
run: | | |
curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/latest/skaffold-linux-amd64 && \ | |
sudo install skaffold /usr/local/bin/ && \ | |
rm -f skaffold | |
- uses: actions/checkout@v2 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: lowercase repo | |
run: | | |
echo "REPO=$(echo $GITHUB_REPOSITORY | tr '[:upper:]' '[:lower:]')" >>${GITHUB_ENV} | |
- name: Build and push images with v20060102-gitSHA tag | |
run: skaffold build --default-repo ghcr.io/${REPO} -p push-all | |
- name: Push images with latest tag | |
run: skaffold build --default-repo ghcr.io/${REPO} -p push-all-latest |