Skip to content

Commit

Permalink
variables update
Browse files Browse the repository at this point in the history
  • Loading branch information
chirag-ji committed Oct 30, 2024
1 parent 648dada commit 76de7f1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
else
echo "Flutter version ${{ needs.get-flutter-version.outputs.flutter_version }} does not exist as a Docker tag."
echo "version_exists=false" >> $GITHUB_OUTPUT
echo "BUILD_TAG=${{ needs.get-flutter-version.outputs.flutter_version }}" >> $GITHUB_OUTPUT
fi
build-stable:
Expand All @@ -70,9 +71,9 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push image
run: |
FLUTTER_VERSION="${{ needs.get-flutter-version.outputs.flutter_version }}"
echo "Starting building tags latest, $BUILD_TAG"
docker build \
-t "$DOCKER_REPO":latest -t "$DOCKER_REPO:$FLUTTER_VERSION" \
-t "$DOCKER_REPO":latest -t "$DOCKER_REPO:$BUILD_TAG" \
--push \
--platform linux/amd64 \
.

0 comments on commit 76de7f1

Please sign in to comment.